Constructor
Gtk.CallbackAction.new
Declaration [src]
GtkShortcutAction*
gtk_callback_action_new (
  GtkShortcutFunc callback,
  gpointer data,
  GDestroyNotify destroy
)
Parameters
| callback | GtkShortcutFunc | 
| the callback to call | |
| data | gpointer | 
| the data to be passed to  | |
| destroy | GDestroyNotify | 
| the function to be called when the callback action is finalized | 
Return value
| Returns: GtkCallbackAction | |
| A new shortcut action | |
| Ownership of the data is transferred to the caller | |