Screen.getMonitorWidthMm

int getMonitorWidthMm(int monitorNum)

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

Parameters

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

Returns

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

Deprecated

Use [gdk.monitor.MonitorWrap.getWidthMm] instead