Method

GdkMonitorget_geometry

since: 3.22

Declaration [src]

void
gdk_monitor_get_geometry (
  GdkMonitor* monitor,
  GdkRectangle* geometry
)

Description [src]

Retrieves the size and position of an individual monitor within the display coordinate space. The returned geometry is in ”application pixels”, not in ”device pixels” (see gdk_monitor_get_scale_factor()).

Available since: 3.22

Gets propertyGdk.Monitor:geometry

Parameters

geometry

Type: GdkRectangle

A GdkRectangle to be filled with the monitor geometry.

The argument will be set by the function.
The returned data is owned by the instance.