Interface GestureClick.OnReleased

Enclosing class:
GestureClick
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 GestureClick.OnReleased
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onReleased(int n_press, double x, double y)
    Emitted when a button or touch is released.
  • Method Details

    • onReleased

      void onReleased(int n_press, double x, double y)
      Emitted when a button or touch is released.

      @n_press will report the number of press that is paired to
      this event, note that [signal@Gtk.GestureClick::stopped] may
      have been emitted between the press and its release, @n_press
      will only start over at the next press.
      Parameters:
      n_press - number of press that is paired with this release
      x - The X coordinate, in widget allocation coordinates
      y - The Y coordinate, in widget allocation coordinates