NamedAction

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

Constructors

this
this(void* ptr, Flag!"Take" take)
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.

self
NamedAction self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From ShortcutAction

getGType
GType getGType()
gType
GType gType [@property getter]
self
ShortcutAction self()

Returns this, for use in with statements.

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.