Hi,
In the snow plugin there's a sample on how to add a float parameter.
... "<param name=\"drift\" gui-text=\"" N_("Drift Size") "\" type=\"float\" min=\"0.0\" max=\"20.0\">3.5</param>\n" ...
... float drift = ext->get_param_float("drift"); ...
Looking for a doc/sample about others possible "input" type (textbox, dropdown...)
thank you
[coding] plugin filter : how to add a dropdown param ?
Re: [coding] plugin filter : how to add a dropdown param ?
Gosh vince_2009, I've been hoping someone else might answer this, since I have not the slightest idea. All I can suggest is searching the forums. I know I've seen a similar question asked, not too long ago, but don't remember the answer. Sorry, I wish I could be more help.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: [coding] plugin filter : how to add a dropdown param ?
v1nce_2009 wrote:Looking for a doc/sample about others possible "input" type (textbox, dropdown...)
from the source code: src/extension/param/parameter.cpp
- boolean
- int
- float
- string
- description
- enum
- notebook
- optiongroup NEW
- color
INX extension descriptor format - Inkscape Wiki
INX Parameters - Inkscape Wiki: short description of each parameter