get_monitor_width_mm


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" , since = "2.14" ) ]
public int get_monitor_width_mm (int monitor_num)

Warning: get_monitor_width_mm is deprecated since 3.22.

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

Note:

Use get_width_mm instead

Parameters:

this

a Screen

monitor_num

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

Returns:

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