Method

GdkScreenget_width_mm

deprecated: 3.22 since: 2.2

Declaration [src]

gint
gdk_screen_get_width_mm (
  GdkScreen* screen
)

Description [src]

Gets the width of screen in millimeters.

Note that this value is somewhat ill-defined when the screen has multiple monitors of different resolution. It is recommended to use the monitor dimensions instead.

Available since: 2.2

Deprecated since: 3.22

Use per-monitor information instead.

Return value

Type: gint

The width of screen in millimeters.