Class: Gtk::SignalAction

Inherits:
ShortcutAction show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from ShortcutAction

#activate, #print, #to_string

Constructor Details

#initialize(signal_name) ⇒ Gtk::SignalAction

Creates an action that when activated, emits the given action signal on the provided widget.

It will also unpack the args into arguments passed to the signal.

Parameters:

  • signal_name (String)

    name of the signal to emit

Instance Method Details

#signal_nameString

The name of the signal to emit.

Returns:

  • (String)

    signal-name

#signal_name=(signal_name) ⇒ String

The name of the signal to emit.

Parameters:

  • signal_name (String)

Returns:

  • (String)

    signal-name

  • (String)

    signal-name