NamedAction

A gtk.shortcut_action.ShortcutAction that activates an action by name.

Constructors

this
this(string name)

Creates an action that when activated, activates the named action on the widget.

Members

Functions

getActionName
string getActionName()

Returns the name of the action that will be activated.

Inherited Members

From ShortcutAction

parseString
gtk.shortcut_action.ShortcutAction parseString(string string_)

Tries to parse the given string into an action.

activate
bool activate(gtk.types.ShortcutActionFlags flags, gtk.widget.Widget widget, glib.variant.VariantG args)

Activates the action on the widget with the given args.

print
void print(glib.string_.String string_)

Prints the given action into a string for the developer.

toString_
string toString_()

Prints the given action into a human-readable string.