[−][src]Function tetra::window::get_current_monitor
pub fn get_current_monitor(ctx: &Context) -> Result<i32>
Gets the index of the monitor that the window is currently on.
Errors
TetraError::PlatformError
will be returned if the monitor state was inaccessible.