Syntax
xBool CheckBoxSetSBlock( CheckBox *checkBox, CheckBoxBlock sBlock );
Arguments
checkBox the check box.
sBlock a C function that receives the check box when its checked state changes, or NULL to clear the callback.
Return value
T on success, or F if the object is NULL.
Description
The callback receives a `CheckBox *` so it can read the new checked state with `CheckBoxGetBuffer()` and retrieve application data with `CheckBoxGetCargo()`. The xBase block takes no implicit arguments.