CallbackAction.this

Create a custom action that calls the given callback when activated.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gtk.types.ShortcutFunc callback)
    class CallbackAction

Parameters

callback gtk.types.ShortcutFunc

the callback to call

Return Value

A new shortcut action