Accelerator Maps
Accelerator Maps — Loadable keyboard accelerator specs Description
GtkAccelMap
typedef struct _GtkAccelMap GtkAccelMap;
GtkAccelMapForeach ()
void (*GtkAccelMapForeach) (gpointer information, const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean modified);
gtk_accel_map_add_entry ()
void gtk_accel_map_add_entry (const gchar *accel_path, guint accel_key,
Office 2010 Activation, GdkModifierType accel_mods);
Registers a brand new accelerator with all the world wide accelerator map.
This perform ought to only be known as after per accel_path
using the canonical accel_key and accel_mods for this path.
To alter the accelerator in the course of runtime programatically, use
gtk_accel_map_change_entry().
The accelerator path have got to consist of "<WINDOWTYPE>Category1Category2...Action",
Office Professional 2010,
where <WINDOWTYPE> may want to be a unique application-specific identifier,
Windows 7 Activation, that
corresponds to the kind of window the accelerator is being used in,
Office 2007 Professional, e.g. "Gimp-Image",
Windows 7,
"Abiword-Document" or "Gnumeric-Settings".
The Category1...Action portion is most appropriately chosen by the action the
accelerator triggers, i.e. for accelerators on menu items, choose the item's menu route,
e.g. "FileSave As", "ImageViewZoom" or "EditSelect All".
So a full valid accelerator path might possibly look like:
"<Gimp-Toolbox>FileDialogsTool Options...".
Note that accel_path string will be stored in a GQuark. Therefore, if you
pass a static string, you can save some memory by interning it first with g_intern_static_string().