Method

GdkScreenget_monitor_width_mm

deprecated: 3.22 since: 2.14

Declaration [src]

gint
gdk_screen_get_monitor_width_mm (
  GdkScreen* screen,
  gint monitor_num
)

Description [src]

Gets the width in millimeters of the specified monitor, if available.

Available since: 2.14

Deprecated since: 3.22

Use gdk_monitor_get_width_mm() instead.

Parameters

monitor_num

Type: gint

Number of the monitor, between 0 and gdk_screen_get_n_monitors (screen).

Return value

Type: gint

The width of the monitor, or -1 if not available.