Trait iup::callback::callbacks::LeaveWindowCb [] [src]

pub trait LeaveWindowCb where Self: Element + 'static {
    fn set_leavewindow_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self,)> { ... }
    fn remove_leavewindow_cb(&mut self) -> Option<Box<Callback<(Self,)>>> { ... }
}

Action generated when the mouse leaves the native element.

When the cursor is moved from one element to another, the call order in all platforms will be first the LeaveWindowCb callback of the old control followed by the EnterWindowCb callback of the new control.

Provided Methods

fn set_leavewindow_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self,)>

fn remove_leavewindow_cb(&mut self) -> Option<Box<Callback<(Self,)>>>

Implementors