Previous Up Next

_CBmenu
Define a callback function on selection event.

ObjMenuItem _CBmenu (
ObjMenuItem _choice_
fun [ObjMenuItem u0] u1 _callback_
u0 _user_
)
Parameters

_choice_
any menu item
_callback_
callback function on selection event
_user_
user parameter
Return value

same menu item