Class

Gtk.CellRendererAccel

Description [src]

final class Gtk.CellRendererAccel : Gtk.CellRendererText {
  /* No available fields */
}

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.

Constructors

gtk_cell_renderer_accel_new

Creates a new GtkCellRendererAccel.

Properties

Gtk.CellRendererAccel:accel-key

The keyval of the accelerator.

Gtk.CellRendererAccel: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.

Gtk.CellRendererAccel:accel-mods

The modifier mask of the accelerator.

Gtk.CellRendererAccel: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.

Properties inherited from GtkCellRendererText (46)

Signals

Gtk.CellRendererAccel::accel-cleared

Gets emitted when the user has removed the accelerator.

Gtk.CellRendererAccel::accel-edited

Gets emitted when the user has selected a new accelerator.