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)
GType _gType() @property
ScrollInfo self()Returns `this`, for use in `with` statements.
bool getEnableHorizontal()Checks if horizontal scrolling is enabled. Returns: true if horizontal scrolling is enabled.
bool getEnableVertical()Checks if vertical scrolling is enabled. Returns: true if vertical scrolling is enabled.
void setEnableHorizontal(bool horizontal)Turns horizontal scrolling on or off.
void setEnableVertical(bool vertical)Turns 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