gtk.binding_set

Module for [BindingSet] class

Types 1

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 _cInstance
Methods
void * _cPtr()
string setName() @propertyGet `setName` field. Returns: unique name of this binding set
void setName(string propval) @propertySet `setName` field. Params: propval = unique name of this binding set
int priority() @propertyGet `priority` field. Returns: unused
void priority(int propval) @propertySet `priority` field. Params: propval = unused
gtk.binding_entry.BindingEntry entries() @propertyGet `entries` field. Returns: the key binding entries in this binding set
gtk.binding_entry.BindingEntry current() @propertyGet `current` field. Returns: implementation detail
uint parsed() @propertyGet `parsed` field. Returns: whether this binding set stems from a CSS file and is reset upon theme changes
void parsed(uint propval) @propertySet `parsed` field. Params: propval = whether this binding set stems from a CSS file and is reset upon theme changes
bool 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.
Constructors
this(void * ptr, Flag!"Take" take)