Function tetra::window::get_current_monitor[][src]

pub fn get_current_monitor(ctx: &Context) -> Result<i32>

Gets the index of the monitor that the window is currently on.

Errors