gtk.cell_renderer_accel

Module for [CellRendererAccel] class

Types 3

Renders a keyboard accelerator in a cell

[gtk.cell_renderer_accel.CellRendererAccel] displays a keyboard accelerator (i.e. a key combination like Control + a). If the cell renderer is editable, the accelerator can be changed by simply typing the new combination.

Deprecated

Applications editing keyboard accelerators should

provide their own implementation according to platform design guidelines

Methods
GType _gType() @property
CellRendererAccel self()Returns `this`, for use in `with` statements.
CellRendererAccelGidBuilder builder()Get builder for [gtk.cellrendereraccel.CellRendererAccel] Returns: New builder object
uint accelKey() @propertyGet `accelKey` property. Returns: The keyval of the accelerator.
void accelKey(uint propval) @propertySet `accelKey` property. Params: propval = The keyval of the accelerator.
gtk.types.CellRendererAccelMode accelMode() @propertyGet `accelMode` property. Returns: Determines if the edited accelerators are GTK accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK are allowed, and the...
void accelMode(gtk.types.CellRendererAccelMode propval) @propertySet `accelMode` property. Params: propval = Determines if the edited accelerators are GTK accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK are allowed...
gdk.types.ModifierType accelMods() @propertyGet `accelMods` property. Returns: The modifier mask of the accelerator.
void accelMods(gdk.types.ModifierType propval) @propertySet `accelMods` property. Params: propval = The modifier mask of the accelerator.
uint keycode() @propertyGet `keycode` property. Returns: The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configuration sho...
void keycode(uint propval) @propertySet `keycode` property. Params: propval = The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configur...
gulong connectAccelCleared(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.cell_renderer_accel.CellRendererAccel))) && Parameters!T.length < 3)Connect to `AccelCleared` signal.
gulong connectAccelEdited(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == uint))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] == gdk.types.ModifierType))) && (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] == uint))) && (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gtk.cell_renderer_accel.CellRendererAccel))) && Parameters!T.length < 6)Connect to `AccelEdited` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.cellrendereraccel.CellRendererAccel]. Returns: the new cell renderer
Methods
T accelKey(uint propval)Set `accelKey` property. Params: propval = The keyval of the accelerator. Returns: Builder instance for fluent chaining
T accelMode(gtk.types.CellRendererAccelMode propval)Set `accelMode` property. Params: propval = Determines if the edited accelerators are GTK accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK are allowed...
T accelMods(gdk.types.ModifierType propval)Set `accelMods` property. Params: propval = The modifier mask of the accelerator. Returns: Builder instance for fluent chaining
T keycode(uint propval)Set `keycode` property. Params: propval = The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configur...

Fluent builder for [gtk.cell_renderer_accel.CellRendererAccel]