SignalAction

A gtk.shortcut.ShortcutAction 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(string signalName)

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

Members

Functions

getSignalName
string getSignalName()

Returns the name of the signal that will be emitted.

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.