[−][src]Function tetra::window::set_mouse_grabbed
pub fn set_mouse_grabbed(ctx: &mut Context, mouse_grabbed: bool)
Sets whether or not the mouse is grabbed by the window.
When this is active, the cursor will not be able to leave the window while it is focused.