Gnome::Gtk4::SignalAction
Table of Contents
Description§
A Gnome::Gtk4::ShortcutAction that emits a signal.
Signals that are used in this way are referred to as keybinding signals, and they are expected to be defined with the G_SIGNAL_ACTION flag.
Uml Diagram§
UNKNOWN image§
=for image :class<inline> :src<asset_files/images/plantuml/SignalAction.png> :width<70\%>Class initialization§
new§
:native-object§
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
Code
new-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.
method new-signalaction ( Str $signal-name --> Gnome::Gtk4::SignalAction )
Code
- $signal-name; name of the signal to emit.
Methods§
get-signal-name§
Returns the name of the signal that will be emitted.
method get-signal-name (--> Str )
Code
Return value; the name of the signal to emit.
About my projects, examples and tutorials