ScrollInfo

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.

Constructors

this
this()

Creates a new scroll info for scrolling an element into view.

Members

Functions

getEnableHorizontal
bool getEnableHorizontal()

Checks if horizontal scrolling is enabled.

getEnableVertical
bool getEnableVertical()

Checks if vertical scrolling is enabled.

setEnableHorizontal
void setEnableHorizontal(bool horizontal)

Turns horizontal scrolling on or off.

setEnableVertical
void setEnableVertical(bool vertical)

Turns vertical scrolling on or off.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.