Gnome::Gtk4::NamedAction
Table of Contents
Description§
A Gnome::Gtk4::ShortcutAction that activates an action by name.
Uml Diagram§
UNKNOWN image§
=for image :class<inline> :src<asset_files/images/plantuml/NamedAction.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-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 )
Code
- $name; the detailed name of the action.
Methods§
get-action-name§
Returns the name of the action that will be activated.
method get-action-name (--> Str )
Code
Return value; the name of the action to activate.
About my projects, examples and tutorials