Class: Gtk::CellRendererAccel

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#accel_keyInteger

The keyval of the accelerator.

Returns:

  • (Integer)

    accel-key

#accel_key=(accel_key) ⇒ Integer

The keyval of the accelerator.

Parameters:

  • accel_key (Integer)

Returns:

  • (Integer)

    accel-key

  • (Integer)

    accel-key

#accel_modeGtk::CellRendererAccelMode

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.

If the mode is set to %GTK_CELL_RENDERER_ACCEL_MODE_MODIFIER_TAP then bare modifiers can be set as accelerators by tapping (ie: pressing and immediately releasing) them.

Returns:

#accel_mode=(accel_mode) ⇒ Gtk::CellRendererAccelMode

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.

If the mode is set to %GTK_CELL_RENDERER_ACCEL_MODE_MODIFIER_TAP then bare modifiers can be set as accelerators by tapping (ie: pressing and immediately releasing) them.

Parameters:

Returns:

#accel_modsGdk::ModifierType

The modifier mask of the accelerator.

Returns:

#accel_mods=(accel_mods) ⇒ Gdk::ModifierType

The modifier mask of the accelerator.

Parameters:

Returns:

#keycodeInteger

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.

Returns:

  • (Integer)

    keycode

#keycode=(keycode) ⇒ Integer

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.

Parameters:

  • keycode (Integer)

Returns:

  • (Integer)

    keycode

  • (Integer)

    keycode

#newGtk::CellRenderer

Creates a new Gtk::CellRendererAccel.

Returns: