Class: Gtk::NamedAction

Inherits:
ShortcutAction show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from ShortcutAction

#activate, #print, #to_string

Constructor Details

#initialize(name) ⇒ Gtk::NamedAction

Creates an action that when activated, activates the named action on the widget.

It also passes the given arguments to it.

See [methodGtk.Widget.insert_action_group] for how to add actions to widgets.

Parameters:

  • name (String)

    the detailed name of the action

Instance Method Details

#action_nameString

The name of the action to activate.

Returns:

  • (String)

    action-name

#action_name=(action_name) ⇒ String

The name of the action to activate.

Parameters:

  • action_name (String)

Returns:

  • (String)

    action-name

  • (String)

    action-name