Action generated when the mouse leaves the native element.
int function(Ihandle *ih); [in C] ih:leavewindow_cb() -> (ret: number) [in Lua]
ih: identifier of the element that activated the event.
When the cursor is moved from one element to another, the call order in all platforms will be first the LEAVEWINDOW_CB callback of the old control followed by the ENTERWINDOW_CB callback of the new control. (since 3.14)
If the mouse button is hold pressed and the cursor moves outside the element the behavior is system dependent. In Windows the LEAVEWINDOW_CB/ENTERWINDOW_CB callbacks are NOT called, in GTK the callbacks are called.
All controls with user interaction.