Schnittstelle CallbackAction.OnShortcutFunc

Umschließende Klasse:
CallbackAction
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface CallbackAction.OnShortcutFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onShortcutFunc(CallbackHandler __self, Widget widget, Variant args, Pointer user_data)
    Type for shortcuts based on user callbacks.
  • Methodendetails

    • onShortcutFunc

      boolean onShortcutFunc(CallbackHandler __self, @Nonnull Widget widget, @Nullable Variant args, @Nullable Pointer user_data)
      Type for shortcuts based on user callbacks.
      Parameter:
      widget - The widget passed to the activation
      args - The arguments passed to the activation
      user_data - The user data provided when activating the action
      Gibt zurück:
      true if the action was successful