Python GUI in Inkscape extension
Hi guys, I am writing Inkscape extension and I found out that I definitely need more complex UI elements (such as file browser, textarea etc. ) than these, that offers INX file format. I was experimenting with using Python GUI package (Tkinter) together with standard Inkscape extension file, but there is no possibility, at the moment when Tkinter is running, to interact with Inkscape interface. Is there any possibility to have python GUI and can interact with Inkscape objects at the same time ? Sorry for my english.
Thank you, Lukas Haberzettl
On Sun, 2017-04-09 at 14:12 +0200, Lukáš Haberzettl wrote:
Hi guys, I am writing Inkscape extension and I found out that I definitely need more complex UI elements (such as file browser, textarea etc. ) than these, that offers INX file format. I was experimenting with using Python GUI package (Tkinter) together with standard Inkscape extension file, but there is no possibility, at the moment when Tkinter is running, to interact with Inkscape interface. Is there any possibility to have python GUI and can interact with Inkscape objects at the same time ? Sorry for my english.
I've played with various ways of doing such a thing. It used to be DBus, but we stopped doing that because of windows support. I've hacked some piping experiments, but nothing stable or useful.
Getting extensions that have a solid API for back and forth communication is a hard problem and one we haven't really solved.
Sorry Lukáŝ!
Best Regards, Martin Owens
participants (2)
-
Lukáš Haberzettl
-
Martin Owens