
Am 06.03.2017 um 20:38 schrieb Lukáš Haberzettl:
Hello, I have a question about Inkscape extensions UI options. I need textarea input (not only one line for text input, but something like textarea html element), but as far as I studied the documentation I haven’t find out how to do this. Is there any option how to add this type of input to interface of extension? Original of my question can be seen here : https://answers.launchpad.net/inkscape/+question/470626
Thank you for your reply, Lukas Haberzettl
Hi Lukas,
I'm afraid there is currently no option to generate a multiline text parameter.
Some options:
* Refactoring and improving the extension implementation is something I have on my todo list and I could have a look at multiline text inputs, too, but it won't happen tomorrow. * If you have some knowledge of GTK+ you could probably implement it yourself (code is at [1]). It shouldn't be to hard to implement it as an extension for the "string" parameter. * Use Python capabilities to generate a custom UI. TkInter is bundled by default, but in principle you can use any of the countless implementations, see [2].
Regards, Eduard
[1] http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/exte... [2] https://wiki.python.org/moin/GuiProgramming