[][src]Function tetra::window::get_current_monitor_height

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

Get the height of the monitor that the window is currently on.

Errors

  • TetraError::PlatformError will be returned if the monitor state was inaccessible.