SignalAction

A GtkShortcutAction that emits a signal.

Signals that are used in this way are referred to as keybinding signals, and they are expected to be defined with the %G_SIGNAL_ACTION flag.

Constructors

this
this(GtkSignalAction* gtkSignalAction, bool ownedRef)

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

this
this(string signalName)

Creates an action that when activated, emits the given action signal on the provided widget.

Members

Functions

getSignalActionStruct
GtkSignalAction* getSignalActionStruct(bool transferOwnership)

Get the main Gtk struct

getSignalName
string getSignalName()

Returns the name of the signal that will be emitted.

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkSignalAction
GtkSignalAction* gtkSignalAction;

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