Geany  1.22
Data Fields
GeanyKeyBinding Struct Reference

Represents a single keybinding action. More...

Data Fields

GeanyKeyCallback callback
 Function called when the key combination is pressed, or NULL to use the group callback (preferred).
 
guint key
 Key value in lower-case, such as GDK_a or 0.
 
gchar * label
 Label used in the preferences dialog keybindings tab.
 
GtkWidget * menu_item
 Optional widget to set an accelerator for, or NULL.
 
GdkModifierType mods
 Modifier keys, such as GDK_CONTROL_MASK or 0.
 
gchar * name
 Key name for the configuration file, such as "menu_new".
 

Detailed Description

Represents a single keybinding action.

Use keybindings_set_item() to set.

Field Documentation

GeanyKeyCallback GeanyKeyBinding::callback

Function called when the key combination is pressed, or NULL to use the group callback (preferred).

See Also
plugin_set_key_group().
gchar* GeanyKeyBinding::label

Label used in the preferences dialog keybindings tab.

May contain underscores - these won't be displayed.