gtk.binding_set
Module for [BindingSet] class
class BindingSet
Types 1
classBindingSet
A binding set maintains a list of activatable key bindings. A single binding set can match multiple types of widgets. Similar to style contexts, can be matched by any information contained in a widgets #GtkWidgetPath. When a binding within a set is matched upon activation, an action signal is emitted on the target widget to carry out the actual activation.
Fields
GtkBindingSet _cInstanceMethods
void * _cPtr()void setName(string propval) @propertySet `setName` field. Params: propval = unique name of this binding setgtk.binding_entry.BindingEntry entries() @propertyGet `entries` field. Returns: the key binding entries in this binding setgtk.binding_entry.BindingEntry current() @propertyGet `current` field. Returns: implementation detailuint parsed() @propertyGet `parsed` field. Returns: whether this binding set stems from a CSS file and is reset upon theme changesvoid parsed(uint propval) @propertySet `parsed` field. Params: propval = whether this binding set stems from a CSS file and is reset upon theme changesbool activate(uint keyval, gdk.types.ModifierType modifiers, gobject.object.ObjectWrap object)Find a key binding matching keyval and modifiers within binding_set and activate the binding on object.void addPath(gtk.types.PathType pathType, string pathPattern, gtk.types.PathPriorityType priority)This function was used internally by the GtkRC parsing mechanism to assign match patterns to #GtkBindingSet structures.gtk.binding_set.BindingSet find(string setName)Find a binding set by its globally unique name.