get_monitor#

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

Get the Gdk.Monitor by its ID.

Parameters:

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

Return type:

Monitor | None

Returns:

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