Package ch.bailu.gtk.gtk
Schnittstelle EventControllerScroll.OnScroll
- Umschließende Klasse:
EventControllerScroll
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
onScroll
(double dx, double dy) Signals that the widget should scroll by the
amount specified by @dx and @dy.
-
Methodendetails
-
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].- Parameter:
dx
- X deltady
- Y delta- Gibt zurück:
- %TRUE if the scroll event was handled, %FALSE otherwise.
-