Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: object
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.
GtkScrollInfo (Handle = null)
Creates a new scroll info for scrolling an element into view.
Handle is an optional native handle or wrapper whose handle to adopt; when the native constructor is called.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.get_enable_horizontal ()
Checks if horizontal scrolling is enabled.
%TRUE if horizontal scrolling is enabled..get_enable_vertical ()
Checks if vertical scrolling is enabled.
%TRUE if vertical scrolling is enabled..ref ()
Increases the reference count of a
GtkScrollInfoby one.
the passed in GtkScrollInfo..set_enable_horizontal (bool horizontal)
Turns horizontal scrolling on or off.
horizontal is if scrolling in the horizontal direction should happen.None.set_enable_vertical (bool vertical)
Turns vertical scrolling on or off.
vertical is if scrolling in the vertical direction should happen.None.unref ()
Decreases the reference count of a
GtkScrollInfoby one. If the resulting reference count is zero, frees the self.
None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.