CellRendererAccel#

Deprecated since version 4.10: Applications editing keyboard accelerators should provide their own implementation according to platform design guidelines

class CellRendererAccel(**properties: Any)#

Superclasses: CellRendererText, CellRenderer, InitiallyUnowned, Object

Renders a keyboard accelerator in a cell

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#

class CellRendererAccel
classmethod new() CellRenderer#

Creates a new GtkCellRendererAccel.

Deprecated since version 4.10: Please do not use it in newly written code

Properties#

class CellRendererAccel
props.accel_key: int#

The type of the None singleton.

props.accel_mode: CellRendererAccelMode#

The type of the None singleton.

props.accel_mods: ModifierType#

The type of the None singleton.

props.keycode: int#

The type of the None singleton.

Signals#

class CellRendererAccel.signals
accel_cleared(path_string: str) None#

The type of the None singleton.

Parameters:

path_string – the path identifying the row of the edited cell

accel_edited(path_string: str, accel_key: int, accel_mods: ModifierType, hardware_keycode: int) None#

The type of the None singleton.

Parameters:
  • path_string – the path identifying the row of the edited cell

  • accel_key – the new accelerator keyval

  • accel_mods – the new accelerator modifier mask

  • hardware_keycode – the keycode of the new accelerator