Method

GdkScreenget_monitor_plug_name

deprecated: 3.22 since: 2.14

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

Type: gint

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

Return value

Type: gchar*

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 returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.