CheckBox

CheckBoxSetCargo

Store an application data pointer on the check box

Syntax

Signature
xBool         CheckBoxSetCargo( CheckBox *checkBox, void *cargo );

Arguments

checkBox the check 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 state callback can retrieve it with `CheckBoxGetCargo()`.

See also