Gnome::Gtk4::SignalAction
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
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
=end rakudoc
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
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! )
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
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 )
$signal-name; name of the signal to emit.
=end rakudoc
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Methods =end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
get-signal-name
Returns the name of the signal that will be emitted.
method get-signal-name (--> Str )
Return value; the name of the signal to emit.
=end rakudoc