Screen.getMonitorWidthMm

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

More...
class Screen
int
getMonitorWidthMm

Parameters

monitorNum int

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

Return Value

Type: int

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

Detailed Description

Deprecated: Use gdk_monitor_get_width_mm() instead

Meta

Since

2.14