gtk.cell_renderer_accel
Module for [CellRendererAccel] class
Types 3
#GtkCellRendererAccel 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.
The #GtkCellRendererAccel cell renderer was added in GTK+ 2.10.
Methods
CellRendererAccel self()Returns `this`, for use in `with` statements.CellRendererAccelGidBuilder builder()Get builder for [gtk.cellrendereraccel.CellRendererAccel] Returns: New builder objectvoid 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 t...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 allow...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.Methods
T accelKey(uint propval)Set `accelKey` property. Params: propval = The keyval of the accelerator. Returns: Builder instance for fluent chainingT 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 allow...T accelMods(gdk.types.ModifierType propval)Set `accelMods` property. Params: propval = The modifier mask of the accelerator. Returns: Builder instance for fluent chainingT 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]
Methods