Interface GestureLongPress.OnPressed

Enclosing class:
GestureLongPress
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 GestureLongPress.OnPressed
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPressed(double x, double y)
    Emitted whenever a press goes unmoved/unreleased longer than
    what the GTK defaults tell.
  • Method Details

    • onPressed

      void onPressed(double x, double y)
      Emitted whenever a press goes unmoved/unreleased longer than
      what the GTK defaults tell.
      Parameters:
      x - the X coordinate where the press happened, relative to the widget allocation
      y - the Y coordinate where the press happened, relative to the widget allocation