Package ch.bailu.gtk.gtk
Interface Gesture.OnBegin
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBegin
(EventSequence sequence) Emitted when the gesture is recognized.
-
Method Details
-
onBegin
Emitted when the gesture is recognized.
This means the number of touch sequences matches
[property@Gtk.Gesture:n-points].
Note: These conditions may also happen when an extra touch
(eg. a third touch on a 2-touches gesture) is lifted, in that
situation @sequence won't pertain to the current set of active
touches, so don't rely on this being true.- Parameters:
sequence
- the `GdkEventSequence` that made the gesture to be recognized
-