Package ch.bailu.gtk.gtk
Interface CallbackAction.OnShortcutFunc
- Enclosing class:
- CallbackAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onShortcutFunc
(CallbackHandler __self, Widget widget, Variant args, Pointer user_data) Prototype for shortcuts based on user callbacks.
-
Method Details
-
onShortcutFunc
boolean onShortcutFunc(CallbackHandler __self, @Nonnull Widget widget, @Nullable Variant args, @Nullable Pointer user_data) Prototype for shortcuts based on user callbacks.- Parameters:
widget
- The widget passed to the activationargs
- The arguments passed to the activationuser_data
- The user data provided when activating the action- Returns:
- %TRUE if the action was successful.
-