[][src]Function tetra::window::get_current_monitor_name

pub fn get_current_monitor_name(ctx: &Context) -> Result<String>

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

Errors

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