Package ch.bailu.gtk.gtk
Interface EventControllerScroll.OnScroll
- Enclosing class:
- EventControllerScroll
- 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 TypeMethodDescriptionboolean
onScroll
(double dx, double dy) Signals that the widget should scroll by the
amount specified by @dx and @dy.
-
Method Details
-
onScroll
boolean onScroll(double dx, double dy) Signals that the widget should scroll by the
amount specified by @dx and @dy.
For the representation unit of the deltas, see
[method@Gtk.EventControllerScroll.get_unit].- Parameters:
dx
- X deltady
- Y delta- Returns:
- %TRUE if the scroll event was handled, %FALSE otherwise.
-