get_monitor#

ignis.utils.Utils.get_monitor(monitor_id: int) Gdk.Monitor | None#

Get the Gdk.Monitor by its ID.

Parameters:

monitor_id (int) -- The ID of the monitor.

Returns:

The monitor with the given ID, or None if no such monitor exists.

Return type:

Gdk.Monitor | None