Monitor#

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

Get the Gdk.Monitor by its ID.

Parameters:

monitor_id -- The ID of the monitor.

Returns:

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

ignis.utils.Utils.get_monitors() gi.repository.Gio.ListModel#

Get a list model of Gdk.Monitor.

Return type:

ListModel

Returns:

A list model of Gdk.Monitor.

ignis.utils.Utils.get_n_monitors() int#

Get the number of monitors.

Return type:

int

Returns:

The number of monitors.