Method

GdkScreenget_monitor_plug_name

Declaration [src]

gchar*
gdk_screen_get_monitor_plug_name (
  GdkScreen* screen,
  gint monitor_num
)

Description [src]

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

Available since:2.14
Deprecated since:3.22

Use gdk_monitor_get_model() instead.

Parameters

monitor_num gint
 

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

Return value

Returns: utf8
 

A newly-allocated string containing the name of the monitor, or NULL if the name cannot be determined.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.