I am having a go at creating an extension in Inkscape and I was wondering whether it were possible to show/hide (or at least disable) certain elements of the interface.
For instance, say in my .inx file I define an optiongroup with several options, which rely on different parameters. I would like the corresponding edit boxes for the parameters to appear/disappear depending on the selection in the optiongroup.
Is that possible at all?
Show/hide elements in extension interface
Re: Show/hide elements in extension interface
Hello,
It's an interesting cuestion
Have you checked on the wiki page?
http://wiki.inkscape.org/wiki/index.php/MakingAnINX
(My point of view)In this forum, mostly is for users more than developers
Maybe more help or a better categoric answer can be found on the mailing lists:
http://www.inkscape.org/en/community/mailing-lists/
My guess is that it's not possible: To change the GUI interface of the extension interactively.
Since I believe that you have more experience about developing in python, I have a suggestion: Use TCl/TK. But for this you should have to install those libraries by hand, because the python version which comes with Inkscape, doesn't have those libraries.
Or other more advanced GUI with python.
Greetings
It's an interesting cuestion
Have you checked on the wiki page?
http://wiki.inkscape.org/wiki/index.php/MakingAnINX
(My point of view)In this forum, mostly is for users more than developers
Maybe more help or a better categoric answer can be found on the mailing lists:
http://www.inkscape.org/en/community/mailing-lists/
My guess is that it's not possible: To change the GUI interface of the extension interactively.
Since I believe that you have more experience about developing in python, I have a suggestion: Use TCl/TK. But for this you should have to install those libraries by hand, because the python version which comes with Inkscape, doesn't have those libraries.
Or other more advanced GUI with python.
Greetings
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.