CheckBox

CheckBoxGetSBlock

Return the callback for changes to the checked state

Syntax

Signature
CheckBoxBlock CheckBoxGetSBlock( const CheckBox *checkBox );

Return value

The stored CheckBoxBlock, or NULL if no state callback is set or the object is NULL.

Description

The callback receives the check box. Use `CheckBoxGetBuffer()` inside it to read the new checked state.

See also