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.

@FunctionalInterface public static interface EventControllerScroll.OnScroll
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    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 delta
      dy - Y delta
      Gibt zurück:
      %TRUE if the scroll event was handled, %FALSE otherwise.