[][src]Function tetra::window::get_monitor_height

pub fn get_monitor_height(ctx: &Context, monitor_index: i32) -> Result<i32>

Get the height of a monitor connected to the device.

Errors

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