I want to create an extension written in Python that will work as a dockable panel in Inkscape.
My extension needs event handling like 'XML node selected', 'Node created', etc. and should be able to manipulate document's structure.
I have read the documentation, and it is looks like all Python extensions can work only through stdin/stdout processing whole document as a text and GUI is very limited.
Hi all!
I want to create an extension written in Python that will work as a dockable panel in Inkscape.
My extension needs event handling like 'XML node selected', 'Node created', etc. and should be able to manipulate document's structure.
I have read the documentation, and it is looks like all Python extensions can work only through stdin/stdout processing whole document as a text and GUI is very limited.
Is it even possible?
It's not possible using python, only by adding a tool using C++. Your reading is correct that extensions only work through stdin and stdout.
Thank you for the response!
One more question: What is DOM Scripts? Is it same thing like traditional stdin/stdout scripts or something different?
https://wiki.inkscape.org/wiki/index.php/Extension_subsystem
I believe that's a todo rather than something that exists.