shortcuts.h revision 560a131fd676a3d5926ebbf12e4aa7a91ad38e90
20293N/A#ifndef __SP_SHORTCUTS_H__
20293N/A#define __SP_SHORTCUTS_H__
20293N/A#define SP_SHORTCUT_MODIFIER_MASK (SP_SHORTCUT_SHIFT_MASK|SP_SHORTCUT_CONTROL_MASK|SP_SHORTCUT_ALT_MASK)
20293N/Aunsigned int sp_shortcut_get_primary (Inkscape::Verb * verb); // Returns GDK_VoidSymbol if no shortcut is found.
20293N/Achar* sp_shortcut_get_label (unsigned int shortcut); // Returns the human readable form of the shortcut (or NULL), for example Shift+Ctrl+F. Free the returned string with g_free.