ScrollBar

ScrollBarSetCargo

Store an application data pointer on the scroll bar

Syntax

Signature
xBool          ScrollBarSetCargo( ScrollBar *scrollBar, void *cargo );

Arguments

scrollBar the scroll bar.

cargo the application data pointer, or NULL to clear it.

Return value

T on success, or F if the object is NULL.

Description

The application manages the lifetime of the data. The update callback can retrieve it with `ScrollBarGetCargo()`.

See also