NamedAction

A GtkShortcutAction that activates an action by name.

Constructors

this
this(GtkNamedAction* gtkNamedAction, bool ownedRef)

Sets our main struct and passes it to the parent class.

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.

getNamedActionStruct
GtkNamedAction* getNamedActionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkNamedAction
GtkNamedAction* gtkNamedAction;

the main Gtk struct

Inherited Members

From ShortcutAction

gtkShortcutAction
GtkShortcutAction* gtkShortcutAction;

the main Gtk struct

getShortcutActionStruct
GtkShortcutAction* getShortcutActionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
activate
bool activate(GtkShortcutActionFlags flags, Widget widget, Variant args)

Activates the action on the @widget with the given @args.

print
void print(StringG string_)

Prints the given action into a string for the developer.

toString
string toString()

Prints the given action into a human-readable string.

Meta