Difference between revisions of "Adding interface verbs"
Jump to navigation
Jump to search
DavidHOzAu (talk | contribs) m (→How to Add a Verb: +piped link too) |
m |
||
Line 10: | Line 10: | ||
First, add IDs for your new verbs to verbs.h: | First, add IDs for your new verbs to verbs.h: | ||
[http://svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/src/verbs.h?r1=13280 | [http://svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/src/verbs.h?r1=13280 | ||
Revision as of 06:22, 12 April 2007
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