geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
Represents a single keybinding action. More...
#include <keybindings.h>
Public Attributes | |
guint | key |
Key value in lower-case, such as GDK_KEY_a or 0. More... | |
GdkModifierType | mods |
Modifier keys, such as GDK_CONTROL_MASK or 0. More... | |
gchar * | name |
Key name for the configuration file, such as "menu_new" . More... | |
gchar * | label |
Label used in the preferences dialog keybindings tab. More... | |
GeanyKeyCallback | callback |
Function called when the key combination is pressed, or NULL to use the group callback (preferred). More... | |
GtkWidget * | menu_item |
Optional widget to set an accelerator for, or NULL . More... | |
guint | id |
guint | default_key |
GdkModifierType | default_mods |
GeanyKeyBindingFunc | cb_func |
gpointer | cb_data |
GDestroyNotify | cb_data_destroy |
Represents a single keybinding action.
Use keybindings_set_item() to set.
Definition at line 74 of file keybindings.h.
GeanyKeyCallback GeanyKeyBinding::callback |
Function called when the key combination is pressed, or NULL
to use the group callback (preferred).
Definition at line 84 of file keybindings.h.
Referenced by keybindings_set_item(), and run_kb().
gpointer GeanyKeyBinding::cb_data |
Definition at line 90 of file keybindings.h.
Referenced by free_key_binding(), keybindings_set_item(), keybindings_set_item_full(), and run_kb().
GDestroyNotify GeanyKeyBinding::cb_data_destroy |
Definition at line 91 of file keybindings.h.
Referenced by free_key_binding(), and keybindings_set_item_full().
GeanyKeyBindingFunc GeanyKeyBinding::cb_func |
Definition at line 89 of file keybindings.h.
Referenced by keybindings_set_item(), keybindings_set_item_full(), and run_kb().
guint GeanyKeyBinding::default_key |
Definition at line 87 of file keybindings.h.
Referenced by kb_set_shortcut(), and keybindings_set_item().
GdkModifierType GeanyKeyBinding::default_mods |
Definition at line 88 of file keybindings.h.
Referenced by kb_set_shortcut(), and keybindings_set_item().
guint GeanyKeyBinding::id |
Definition at line 86 of file keybindings.h.
Referenced by kb_init(), keybindings_set_item(), and run_kb().
guint GeanyKeyBinding::key |
Key value in lower-case, such as GDK_KEY_a
or 0.
Definition at line 76 of file keybindings.h.
Referenced by add_menu_accel(), apply_kb_accel(), cb_func_editor_action(), cc_insert_custom_command_items(), fill_shortcut_labels_treeview(), kb_init(), kb_update(), keybindings_check_event(), keybindings_set_item(), keybindings_update_combo(), load_kb(), on_key_press_event(), and set_keyfile_kb().
gchar* GeanyKeyBinding::label |
Label used in the preferences dialog keybindings tab.
May contain underscores - these won't be displayed.
Definition at line 81 of file keybindings.h.
Referenced by free_key_binding(), keybindings_get_label(), and keybindings_set_item().
GtkWidget* GeanyKeyBinding::menu_item |
Optional widget to set an accelerator for, or NULL
.
Definition at line 85 of file keybindings.h.
Referenced by apply_kb_accel(), keybindings_set_item(), and keybindings_update_combo().
GdkModifierType GeanyKeyBinding::mods |
Modifier keys, such as GDK_CONTROL_MASK
or 0.
Definition at line 77 of file keybindings.h.
Referenced by add_menu_accel(), apply_kb_accel(), cc_insert_custom_command_items(), fill_shortcut_labels_treeview(), kb_init(), kb_update(), keybindings_check_event(), keybindings_set_item(), keybindings_update_combo(), load_kb(), on_key_press_event(), and set_keyfile_kb().
gchar* GeanyKeyBinding::name |
Key name for the configuration file, such as "menu_new"
.
Definition at line 78 of file keybindings.h.
Referenced by free_key_binding(), keybindings_set_item(), load_kb(), run_kb(), set_keyfile_kb(), and gen-api-gtkdoc.DoxyElement::to_gtkdoc().