get_monitor_plug_name


Description:

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

Warning: get_monitor_plug_name is deprecated since 3.22.

Returns the output name of the specified monitor.

Note:

Use get_model instead

Usually something like VGA, DVI, or TV, not the actual product name of the display device.

Parameters:

this

a Screen

monitor_num

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

Returns:

a newly-allocated string containing the name of the monitor, or null if the name cannot be determined




2022 vala-language.org