Method

GdkScreenget_monitor_width_mm

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 gint
 

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

Return value

Returns: int
 

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