Schnittstelle Gesture.OnBegin

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

@FunctionalInterface public static interface Gesture.OnBegin
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Emitted when the gesture is recognized.
  • Methodendetails

    • onBegin

      void onBegin(@Nullable EventSequence sequence)
      Emitted when the gesture is recognized.

      This means the number of touch sequences matches
      [property@Gtk.Gesture:n-points].

      Note: These conditions may also happen when an extra touch
      (eg. a third touch on a 2-touches gesture) is lifted, in that
      situation @sequence won't pertain to the current set of active
      touches, so don't rely on this being true.
      Parameter:
      sequence - the `GdkEventSequence` that made the gesture to be recognized