pub trait MouseGrabExt {
    fn grab(&self);
    fn ungrab(&self);
    fn is_grabbed(&self) -> bool;
}
Expand description

An extension for Window to grab/ungrab the mouse.

Required Methods§

Grabs the mouse.

Ungrabs the mouse.

Returns whether the window is grabbing the mouse.

Implementors§