ShortcutFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate bool ShortcutFunc (Widget widget, Variant? args)

Prototype for shortcuts based on user callbacks.

Parameters:

widget

The widget passed to the activation

args

The arguments passed to the activation

user_data

The user data provided when activating the action

Returns:

true if the action was successful.


Namespace: Gtk
Package: gtk4