
On Wed, 2005-12-21 at 07:20 -0600, aaron@...749... wrote:
Martin Owens wrote:
- I need an inx param type of enumberation for encoding (preset
options of EAN8 Code39 Code128)
Yes, we do. Ted can we have something like this?
Hmm, don't see why not. Here's what I'm thinking:
<param name="encoding" type="enum" gui-text="Bar code encoding"> <value pass="1">EAN8</value> <value pass="2">Code39</value> <value pass="3" default="true">Code128</value> </param>
Where "pass" would be the value passed to the script. If it wasn't there, the content of the tag would be passed as a string.
Does that have everything that you'd need?
--Ted
PS - I'm still working on the effects menu stuff, and I won't do this until after I'm done. But, if someone wanted this right away, it would be really easy as all you need to do is subclass the parameter object. All the other parameters are already subclasses, so there is lots of example code. It might be fun for someone wanting to do a small GTKmm project also as you'll have to make the widget with a couple of boxes.