Interface Gesture.OnSequenceStateChanged

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.OnSequenceStateChanged
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSequenceStateChanged(EventSequence sequence, int state)
    Emitted whenever a sequence state changes.
  • Method Details

    • onSequenceStateChanged

      void onSequenceStateChanged(@Nullable EventSequence sequence, int state)
      Emitted whenever a sequence state changes.

      See [method@Gtk.Gesture.set_sequence_state] to know
      more about the expectable sequence lifetimes.
      Parameters:
      sequence - the `GdkEventSequence` that was cancelled
      state - the new sequence state