The
gtk:cell-renderer-accel object displays a keyboard accelerator, i.e. a key combination like the
Control+a key.
If the cell renderer is editable, the accelerator can be changed by simply
typing the new combination.
Signal Details
The "accel-cleared" signal
lambda (accel path) :run-last
Gets emitted when the user has removed the accelerator.
- accel
- The gtk:cell-renderer-accel object reveiving the signal.
- path
- The string with the path identifying the row of the edited cell.
The "accel-edited" signal
lambda (accel path keyval mods keycode) :run-last
Gets emitted when the user has selected a new accelerator.
- accel
- The gtk:cell-renderer-accel object reveiving the signal.
- path
- The string with the path identifying the row of the edited cell.
- keyval
- The unsigned integer with the new accelerator keyval.
- mods
- The gdk:modifier-type value with the new acclerator modifier mask.
- keycode
- The unsigned integer with the keycode of the new accelerator.