Previous Up Next

_CBwinClose
Define a callback on close event. If this callback is defined, the system calls it when the user tries to close the window (depending on the operating system : on windows, by clicking on the upper-right cross). If this callback is not defined, the system destroys the window and call the destroy event callback.

ObjWin _CBwinClose (
ObjWin _win_
fun [ObjWin u0] u1 _callback_
u0 _user_
)
Parameters

_win_
any window
_callback_
callback on close event
_user_
user parameter
Return value

same window