Gnome::Gtk4::NamedAction
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Description
A Gnome::Gtk4::ShortcutAction that activates an action by name.
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-namedaction
Creates an action that when activated, activates the named action on the widget.
It also passes the given arguments to it.
See .insert-action-group() in class Widget for how to add actions to widgets.
method new-namedaction ( Str $name --> Gnome::Gtk4::NamedAction )
$name; the detailed name of the action.
=end rakudoc
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Methods =end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
get-action-name
Returns the name of the action that will be activated.
method get-action-name (--> Str )
Return value; the name of the action to activate.
=end rakudoc