Project

General

Profile

Previous Up Next

_CBcheck
Define a callback function on state changed event.

ObjCheck _CBcheck (
ObjCheck _checkbox_
fun [ObjButton u0 I] u1 _callback_
u0 _user_
)
Parameters

_checkbox_
any checkbox
_callback_
callback function on state changed event (supplemental parameter is the new state of the checkbox : 0 is unchecked, 1 is checked)
_user_
user parameter
Return value

same checkbox