BindingSet

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.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

_cPtr
void* _cPtr()
activate
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.

addPath
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.

Properties

current
gtk.binding_entry.BindingEntry current [@property getter]

Get current field.

entries
gtk.binding_entry.BindingEntry entries [@property getter]

Get entries field.

parsed
uint parsed [@property getter]

Get parsed field.

parsed
uint parsed [@property setter]

Set parsed field.

priority
int priority [@property getter]

Get priority field.

priority
int priority [@property setter]

Set priority field.

setName
string setName [@property getter]

Get setName field.

setName
string setName [@property setter]

Set setName field.

Static functions

find
gtk.binding_set.BindingSet find(string setName)

Find a binding set by its globally unique name.