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