gtk.scroll_info

Module for [ScrollInfo] class

Types 1

The gtk.scroll_info.ScrollInfo 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.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
ScrollInfo self() nothrowReturns `this`, for use in `with` statements.
bool getEnableHorizontal() nothrowChecks if horizontal scrolling is enabled. Returns: true if horizontal scrolling is enabled.
bool getEnableVertical() nothrowChecks if vertical scrolling is enabled. Returns: true if vertical scrolling is enabled.
void setEnableHorizontal(bool horizontal) nothrowTurns horizontal scrolling on or off.
void setEnableVertical(bool vertical) nothrowTurns vertical scrolling on or off.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new scroll info for scrolling an element into view. Returns: A new scroll info