CallbackAction

A gtk.shortcut_action.ShortcutAction that invokes a callback.

Constructors

this
this(gtk.types.ShortcutFunc callback)

Create a custom action that calls the given callback when 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.