Class (GI Struct)

Gtk-4.0GtkScrollInfoSince 4.12

Provides detailed information on how a scroll operation should be performed.

Scrolling functions usually allow passing a NULL scroll info which will cause the default values to be used and just scroll the element into view.

4.12

Index

Constructors

Properties

$gtype: GType<ScrollInfo>

Methods

  • Checks if horizontal scrolling is enabled.

    Returns boolean

    true if horizontal scrolling is enabled.

  • Checks if vertical scrolling is enabled.

    Returns boolean

    true if vertical scrolling is enabled.

  • Turns horizontal scrolling on or off.

    Parameters

    • horizontal: boolean

      if scrolling in the horizontal direction should happen

    Returns void

  • Turns vertical scrolling on or off.

    Parameters

    • vertical: boolean

      if scrolling in the vertical direction should happen

    Returns void