Function

Gdkget_display

Declaration [src]

gchar*
gdk_get_display (
  void
)

Description [src]

Gets the name of the display, which usually comes from the DISPLAY environment variable or the --display command line option.

Deprecated since:3.8

Call gdk_display_get_name (gdk_display_get_default ())) instead.

Return value

Returns: utf8
 

The name of the display.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.