Screen.getMonitorWidthMm

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

class Screen
int
getMonitorWidthMm

Parameters

monitorNum int

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

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

Meta

Since

2.14