6.24 GtkShortcutFunc

Callback: GtkShortcutFunc

A procedure given for it is called as (procedure widget args) ⇒ %return.

Type for shortcuts based on user callbacks.

widget

Passed: a <GtkWidget>.

The widget passed to the activation

args

Passed: a <GVariant>, or #f.

The arguments passed to the activation

%return

Returned: a boolean.

true if the action was successful

user-data

Not passed: it is the user data that guile-gi supplied.

The user data provided when activating the action