1.177 <GtkSignalAction>

Class: <GtkSignalAction>

It derives from <GtkShortcutAction>.

Emits a signal on a widget.

Signals that are used in this way are referred to as keybinding signals, and they are expected to be defined with the action flag.

Properties

Property: signal-action:signal-name self

The name of the signal to emit.

Its value is a string, or #f.

It can only be set when the object is made, with #:signal-name.

Procedures

Method: signal-action:get-signal-name self ⇒ %return
Method: get-signal-name self ⇒ %return

Returns the name of the signal that will be emitted.

self

Passed: a <GtkSignalAction>.

a signal action

%return

Returned: a string.

the name of the signal to emit

Procedure: signal-action:new signal-name ⇒ %return

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.

signal-name

Passed: a string.

name of the signal to emit

%return

Returned: a <GtkSignalAction>.

a new <GtkShortcutAction>