Interface Gesture.OnEnd

Enclosing class:
Gesture
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Gesture.OnEnd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEnd(EventSequence sequence)
    Emitted when @gesture either stopped recognizing the event
    sequences as something to be handled, or the number of touch
    sequences became higher or lower than [property@Gtk.Gesture:n-points].
  • Method Details

    • onEnd

      void onEnd(@Nullable EventSequence sequence)
      Emitted when @gesture either stopped recognizing the event
      sequences as something to be handled, or the number of touch
      sequences became higher or lower than [property@Gtk.Gesture:n-points].

      Note: @sequence might not pertain to the group of sequences that
      were previously triggering recognition on @gesture (ie. a just
      pressed touch sequence that exceeds [property@Gtk.Gesture:n-points]).
      This situation may be detected by checking through
      [method@Gtk.Gesture.handles_sequence].
      Parameters:
      sequence - the `GdkEventSequence` that made gesture recognition to finish