On Fri, 2007-06-01 at 08:18 +0000, St=C3=A9phane ANCELOT wrote:
> I would like to know, if it is possible to setup new custom icons in
> inkscape in order to call custom python extension ? and how ?
Let me try and answer a few questions here:
- To add an icon to Inkscape you need to edit the icons.svg file that is
included in the distribution. You can have one of these in your
preferences directory (~/.inkscape on Unix)
- The toolbars themselves are currently hard coded in released versions
of Inkscape. Jon Cruz is currently working on making these more
dynamic, so you will have to edit some code to adjust them currently.
- If you create an Effect in Python and connect it through the
extensions system it will be automatically added to the Effects menu, so
it is accessible.
- Doing this will give you a verb ID, so you can put it manually in your
menus anywhere, including on the main bar. You'll need to edit the
menus.xml -- and use the extension ID as the verb ID.
I hope that helps.
Get latest updates about Open Source Projects, Conferences and News.