Adding interface verbs
Jump to navigation
Jump to search
Introduction to Verbs
Commands in Inkscape are called 'Verbs'. They permit invoking internal functionality through menus and keyboard shortcuts. For example, they could allow you to assign a shortcut key to a set of actions you use a lot.
Verbs are not terribly difficult to add. You don't need to have much coding know-how in order to add a verb, and only a minimal knowledge of Inkscape internals. The aim of this page is to provide novice coders with a "paint by numbers" process that can be followed to add a new verb to Inkscape.
How to Add a Verb
First, add IDs for your new verbs to verbs.h:
[http://svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/src/verbs.h?r1=13280