Interface ScrolledWindow.OnEdgeOvershot

Enclosing class:
ScrolledWindow
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScrolledWindow.OnEdgeOvershot
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEdgeOvershot(int pos)
    Emitted whenever user initiated scrolling makes the scrolled
    window firmly surpass the limits defined by the adjustment
    in that orientation.
  • Method Details

    • onEdgeOvershot

      void onEdgeOvershot(int pos)
      Emitted whenever user initiated scrolling makes the scrolled
      window firmly surpass the limits defined by the adjustment
      in that orientation.

      A similar behavior without edge resistance is provided by the
      [signal@Gtk.ScrolledWindow::edge-reached] signal.

      Note: The @pos argument is LTR/RTL aware, so callers should be
      aware too if intending to provide behavior on horizontal edges.
      Parameters:
      pos - edge side that was hit