Class: Gtk::ShortcutLabel

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

Instance Method Summary collapse

Instance Method Details

#acceleratorString

The accelerator that self displays. See Gtk::ShortcutsShortcut:accelerator for the accepted syntax.

Returns:

  • (String)

    accelerator

#accelerator=(accelerator) ⇒ String

The accelerator that self displays. See Gtk::ShortcutsShortcut:accelerator for the accepted syntax.

Parameters:

  • accelerator (String)

Returns:

  • (String)

    accelerator

  • (String)

    accelerator

#disabled_textString

The text that is displayed when no accelerator is set.

Returns:

  • (String)

    disabled-text

#disabled_text=(disabled_text) ⇒ String

The text that is displayed when no accelerator is set.

Parameters:

  • disabled_text (String)

Returns:

  • (String)

    disabled-text

  • (String)

    disabled-text

#new(accelerator) ⇒ Gtk::Widget

Creates a new Gtk::ShortcutLabel with accelerator set.

Parameters:

  • accelerator (String)

    the initial accelerator

Returns:

  • (Gtk::Widget)

    a newly-allocated Gtk::ShortcutLabel