CellRendererAccel.accelMode

gtk.types.CellRendererAccelMode accelMode() @property

Get 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 accelerators are rendered in the same way as they are in menus.

If the mode is set to [gtk.types.CellRendererAccelMode.ModifierTap] then bare modifiers can be set as accelerators by tapping (ie: pressing and immediately releasing) them.

void accelMode(gtk.types.CellRendererAccelMode propval) @property

Set accelMode property.

Parameters

propvalDetermines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus. If the mode is set to [gtk.types.CellRendererAccelMode.ModifierTap] then bare modifiers can be set as accelerators by tapping (ie: pressing and immediately releasing) them.