Method

GdkDisplayget_n_monitors

since: 3.22

Declaration [src]

int
gdk_display_get_n_monitors (
  GdkDisplay* display
)

Description [src]

Gets the number of monitors that belong to display.

The returned number is valid until the next emission of the GdkDisplay::monitor-added or GdkDisplay::monitor-removed signal.

Available since: 3.22

Return value

Type: int

The number of monitors.