diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2006-11-24 21:17:33 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2006-11-24 21:17:33 +0000 |
| commit | 33db5c037b8f71858e03f585af059982178c8c86 (patch) | |
| tree | 05c5de14eee55b91f2592520bc2313d8752dc87b /share/extensions | |
| parent | Add "strip" to <link> so you can do it if linking is successful (diff) | |
| download | inkscape-33db5c037b8f71858e03f585af059982178c8c86.tar.gz inkscape-33db5c037b8f71858e03f585af059982178c8c86.zip | |
NEW: radiobuttons for extensions. See radiobutton_example.inx how to use them (they are very similar to enums)
(bzr r2031)
Diffstat (limited to 'share/extensions')
| -rw-r--r-- | share/extensions/radiobutton_example.inx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/share/extensions/radiobutton_example.inx b/share/extensions/radiobutton_example.inx new file mode 100644 index 000000000..9331f6da3 --- /dev/null +++ b/share/extensions/radiobutton_example.inx @@ -0,0 +1,23 @@ +<inkscape-extension> + <_name>RadioButton example</_name> + <id>org.inkscape.effect.radiobuttontest</id> + <param name="radio1" type="optiongroup" _gui-text="Select option: "> + <item>string 1</item> + <item>string 2</item> + <item>test 3!</item> + </param> + <param name="radio2" type="optiongroup" _gui-text="Select second option: "> + <item>string1</item> + <item>string2</item> + <item>test3!</item> + </param> + <effect> + <object-type>all</object-type> + <effects-menu> + <submenu _name="Developer Examples"/> + </effects-menu> + </effect> + <script> + <command reldir="extensions" interpreter="python">eqtexsvg.py</command> + </script> +</inkscape-extension> |
