Struct

GtkBindingEntry

Description [src]

struct GtkBindingEntry {
  guint keyval;
  GdkModifierType modifiers;
  GtkBindingSet* binding_set;
  guint destroyed;
  guint in_emission;
  guint marks_unbound;
  GtkBindingEntry* set_next;
  GtkBindingEntry* hash_next;
  GtkBindingSignal* signals;
}

Each key binding element of a binding sets binding list is represented by a GtkBindingEntry.

Structure members
keyval

Key value to match.

modifiers

Key modifiers to match.

binding_set

Binding set this entry belongs to.

destroyed

Implementation detail.

in_emission

Implementation detail.

marks_unbound

Implementation detail.

set_next

Linked list of entries maintained by binding set.

hash_next

Implementation detail.

signals

Action signals of this entry.

Functions

gtk_binding_entry_add_signal

Override or install a new key binding for keyval with modifiers on binding_set. When the binding is activated, signal_name will be emitted on the target widget, with n_args Varargs used as arguments.

gtk_binding_entry_add_signal_from_string

Parses a signal description from signal_desc and incorporates it into binding_set.

Available since: 3.0

gtk_binding_entry_add_signall

Override or install a new key binding for keyval with modifiers on binding_set.

gtk_binding_entry_remove

Remove a binding previously installed via gtk_binding_entry_add_signal() on binding_set.

gtk_binding_entry_skip

Install a binding on binding_set which causes key lookups to be aborted, to prevent bindings from lower priority sets to be activated.

Available since: 2.12