Package ch.bailu.gtk.gtk
Interface GestureClick.OnPressed
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPressed
(int n_press, double x, double y) Emitted whenever a button or touch press happens.
-
Method Details
-
onPressed
void onPressed(int n_press, double x, double y) Emitted whenever a button or touch press happens.- Parameters:
n_press
- how many touch/button presses happened with this onex
- The X coordinate, in widget allocation coordinatesy
- The Y coordinate, in widget allocation coordinates
-