CallbackAction


Description:

[ CCode ( has_construct_function = false , type = "GtkShortcutAction*" ) ]
public CallbackAction (owned ShortcutFunc? callback)

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

Parameters:

callback

the callback to call

data

the data to be passed to callback

destroy

the function to be called when the callback action is finalized

Returns:

A new shortcut action




2022 vala-language.org