Syntax
xBool ListBoxSetCargo( ListBox *listBox, void *cargo );
Arguments
listBox the list box.
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. A focus or selection callback can retrieve it with `ListBoxGetCargo()`.