|
Crossfire Client, Trunk
R18666
|
Functions | |
| void | update_keybinding_list (void) |
| void | on_keybindings_activate (GtkMenuItem *menuitem, gpointer user_data) |
| gboolean | on_keybinding_entry_key_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data) |
| void | on_keybinding_button_remove_clicked (GtkButton *button, gpointer user_data) |
| void | on_keybinding_button_bind_clicked (GtkButton *button, gpointer user_data) |
| void | on_keybinding_button_update_clicked (GtkButton *button, gpointer user_data) |
| void | on_keybinding_button_close_clicked (GtkButton *button, gpointer user_data) |
| gboolean | keybinding_selection_func (GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata) |
| void | reset_keybinding_status (void) |
| void | on_keybinding_button_clear_clicked (GtkButton *button, gpointer user_data) |
EndOf GtkV2KeyBinding
| gboolean keybinding_selection_func | ( | GtkTreeSelection * | selection, |
| GtkTreeModel * | model, | ||
| GtkTreePath * | path, | ||
| gboolean | path_currently_selected, | ||
| gpointer | userdata | ||
| ) |
Called when the user clicks one of the entries in the list of keybindings and places information about it into the input fields on the dialog. This allows the player to edit and update, or remove bindings.
| selection | |
| model | |
| path | |
| path_currently_selected | |
| userdata |
Definition at line 2065 of file keys.c.


| void on_keybinding_button_bind_clicked | ( | GtkButton * | button, |
| gpointer | user_data | ||
| ) |
| void on_keybinding_button_clear_clicked | ( | GtkButton * | button, |
| gpointer | user_data | ||
| ) |
Implements the "Clear Fields" button function on the keybinding dialog. If a keybinding is highlighted (selected), de-select it first, then clear all of * the input boxes and reset any buttons to an appropriate state.
| button | |
| user_data |
Definition at line 2162 of file keys.c.


| void on_keybinding_button_close_clicked | ( | GtkButton * | button, |
| gpointer | user_data | ||
| ) |
| void on_keybinding_button_remove_clicked | ( | GtkButton * | button, |
| gpointer | user_data | ||
| ) |
| void on_keybinding_button_update_clicked | ( | GtkButton * | button, |
| gpointer | user_data | ||
| ) |
Implements the "Update Binding" button to update the currently selected keybinding to match the currently shown identifiers, key, or command input fields. If a keybinding is highlighted, so something. If not, log an error since the "Update Binding" button should have been disabled.
| button | |
| user_data |
Definition at line 2013 of file keys.c.


| gboolean on_keybinding_entry_key_key_press_event | ( | GtkWidget * | widget, |
| GdkEventKey * | event, | ||
| gpointer | user_data | ||
| ) |
Respond to a key press in the "Key" input box. If the keyboard has modifier keys pressed, set the appropriate "Keybinding Modifiers" checkboxes if the shift or control keys happens to be pressed at the time. Oddly, the Alt and Meta keys are not similarly handled. Checkboxes are never cleared here in case the user had just set the checkboxes ahead of time.i
| widget | |
| event | |
| user_data |
Definition at line 1806 of file keys.c.

| void on_keybindings_activate | ( | GtkMenuItem * | menuitem, |
| gpointer | user_data | ||
| ) |
| void reset_keybinding_status | ( | void | ) |
| void update_keybinding_list | ( | void | ) |
1.7.6.1