Function tetra::window::get_monitor_width
source · pub fn get_monitor_width(ctx: &Context, monitor_index: i32) -> Result<i32>
Expand description
Gets the width of a monitor connected to the device.
Errors
TetraError::PlatformError
will be returned if the monitor state was inaccessible.