[ CCode ( has_construct_function = false , type = "GtkShortcutAction*" ) ]
public CallbackAction (owned ShortcutFunc? callback)
Create a custom action that calls the given callback
when activated.
callback |
the callback to call |
data |
the data to be passed to |
destroy |
the function to be called when the callback action is finalized |
A new shortcut action |