CLOSE_CB
Called just before a dialog is hidden due to some action over it - for example, double clicking the system's menu box, usually located to the left in the title bar.
Callback
int function(Ihandle *self); [in C] elem:close() -> (ret: number) [in IupLua3] elem:close_cb() -> (ret: number) [in IupLua5]Returning
IUP_IGNORE
, it prevents the dialog from being hidden. If you destroy the dialog in this callback, you must returnIUP_IGNORE
.