Function tetra::window::get_current_monitor_name
source · pub fn get_current_monitor_name(ctx: &Context) -> Result<String>
Expand description
Gets the name of the monitor that the window is currently on.
Errors
- [
TetraError::PlatformError
will be returned if the monitor state was inaccessible.