Method

GdkDisplayget_monitors

Declaration [src]

GListModel*
gdk_display_get_monitors (
  GdkDisplay* self
)

Description [src]

Gets the list of monitors associated with this display.

Subsequent calls to this function will always return the same list for the same display.

You can listen to the GListModel::items-changed signal on this list to monitor changes to the monitor of this display.

Return value

Type: A list model of GObject

A GListModel of GdkMonitor.

The returned data is owned by the instance.