gtk-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.
The
gtk-cell-renderer-accel cell renderer was added in GTK+ 2.10.
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
- A string with the path identifying the row of the edited cell.
The "accel-edited" signal
lambda (accel path accel-key accel-mods hardware-keycode) : Run Last
Gets emitted when the user has selected a new accelerator.
- accel
- The gtk-cell-renderer-accel object reveiving the signal.
- path
- A string with the path identifying the row of the edited cell.
- accel-key
- An unsigned integer with the new accelerator keyval.
- accel-mods
- A gdk-modifier-type value with the new acclerator modifier mask.
- hardware-keycode
- An unsignend integer with the keycode of the new accelerator.