Function

GdkDisplayopen_default_libgtk_only

Declaration [src]

GdkDisplay*
gdk_display_open_default_libgtk_only (
  void
)

Description [src]

Opens the default display specified by command line arguments or environment variables, sets it as the default display, and returns it. gdk_parse_args() must have been called first. If the default display has previously been set, simply returns that. An internal function that should not be used by applications.

Deprecated since:3.16

This symbol was never meant to be used outside of GTK+

Return value

Returns: GdkDisplay
 

The default display, if it could be opened, otherwise NULL.

 The data is owned by the called function.
 The return value can be NULL.