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 _getGType() static nothrow
GType _gType() @property nothrow
CellRendererAccel self() nothrowReturns `this`, for use in `with` statements.
CellRendererAccelGidBuilder builder() static nothrowGet builder for [gtk.cell_renderer_accel.CellRendererAccel] Returns: New builder object
uint accelKey() @property nothrowGet `accelKey` property. Returns: The keyval of the accelerator.
void accelKey(uint propval) @property nothrowSet `accelKey` property. Params: propval = The keyval of the accelerator.
gtk.types.CellRendererAccelMode accelMode() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `accelMods` property. Returns: The modifier mask of the accelerator.
void accelMods(gdk.types.ModifierType propval) @property nothrowSet `accelMods` property. Params: propval = The modifier mask of the accelerator.
uint keycode() @property nothrowGet `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) @property nothrowSet `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) nothrowConnect 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) nothrowConnect to `AccelEdited` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.cell_renderer_accel.CellRendererAccel]. Returns: the new cell renderer

Fluent builder implementation template for gtk.cell_renderer_accel.CellRendererAccel

Methods
T accelKey(uint propval) nothrowSet `accelKey` property. Params: propval = The keyval of the accelerator. Returns: Builder instance for fluent chaining
T accelMode(gtk.types.CellRendererAccelMode propval) nothrowSet `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) nothrowSet `accelMods` property. Params: propval = The modifier mask of the accelerator. Returns: Builder instance for fluent chaining
T keycode(uint propval) nothrowSet `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...