since: 2.2

Declaration [src]

const gchar*
gdk_get_display_arg_name (

Description [src]

Gets the display name specified in the command line arguments passed to gdk_init() or gdk_parse_args(), if any.

Available since: 2.2

Return value

Type: const gchar*

The display name, if specified explicitly, otherwise NULL this string is owned by GTK+ and must not be modified or freed.

The data is owned by the called function.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.