Inkscape.org
Creating New Extensions Interactive panel extension. Is it possible?
  1. #1
    Aleksey Shaferov Aleksey Shaferov @a.shaferov

    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?

  2. #2
    Martin Owens Martin Owens @doctormo🌹⚖🧀

    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.

  3. #3
    Aleksey Shaferov Aleksey Shaferov @a.shaferov

    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

  4. #4
    Martin Owens Martin Owens @doctormo🌹⚖🧀

    I believe that's a todo rather than something that exists.

Inkscape Inkscape.org Inkscape Forum Creating New Extensions Interactive panel extension. Is it possible?