Superclass: cell-renderer-text
cell-renderer-accel 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.
Slots:
integer
. Accessor: cell-renderer-accel-accel-key
.
The keyval of the accelerator.
Default value: 0
cell-renderer-accel-accel-mode
.
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.
Default value: :gtk
cell-renderer-accel-accel-mods
.
The modifier mask of the accelerator.
integer
. Accessor: cell-renderer-accel-keycode
.
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 should assign keyvals to all keys.
Default value: 0
Signals:
string
) => void. Options: run-last.
Gets emitted when the user has removed the accelerator.
path is the path identifying the row of the edited cell
string
), (accel-key integer
), (accel-mods gdk-modifier-type), (hardware-keycode integer
) => void. Options: run-last.
Gets emitted when the user has selected a new accelerator.