Method

Gdk.Monitor.get_geometry

Declaration [src]

void
gdk_monitor_get_geometry (
  GdkMonitor* monitor,
  GdkRectangle* geometry
)

Description [src]

Retrieves the size and position of the monitor within the display coordinate space.

The returned geometry is in ”application pixels”, not in ”device pixels” (see gdk_monitor_get_scale_factor()).

Gets propertyGdk.Monitor:geometry

Parameters

geometry GdkRectangle
 

a GdkRectangle to be filled with the monitor geometry

 Direction: out
 Ownership is not transferred to the callee