Interface ScrolledWindow.OnScrollChild

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.OnScrollChild
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onScrollChild(int scroll, boolean horizontal)
    Emitted when a keybinding that scrolls is pressed.
  • Method Details

    • onScrollChild

      boolean onScrollChild(int scroll, boolean horizontal)
      Emitted when a keybinding that scrolls is pressed.

      This is a [keybinding signal](class.SignalAction.html).

      The horizontal or vertical adjustment is updated which triggers a
      signal that the scrolled window’s child may listen to and scroll itself.
      Parameters:
      scroll - a `GtkScrollType` describing how much to scroll
      horizontal - whether the keybinding scrolls the child horizontally or not
      Returns: