ScrollInfo

class ScrollInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GtkScrollInfo can be used to provide more accurate data 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.

Since

4.12

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkScrollInfoPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Checks if horizontal scrolling is enabled.

Link copied to clipboard

Checks if vertical scrolling is enabled.

Link copied to clipboard

Increases the reference count of a GtkScrollInfo by one.

Link copied to clipboard
fun setEnableHorizontal(horizontal: Boolean)

Turns horizontal scrolling on or off.

Link copied to clipboard
fun setEnableVertical(vertical: Boolean)

Turns vertical scrolling on or off.

Link copied to clipboard
fun unref()

Decreases the reference count of a GtkScrollInfo by one.