Function

Gdkinit_check

Declaration [src]

gboolean
gdk_init_check (
  gint* argc,
  gchar*** argv
)

Description [src]

Initializes the GDK library and connects to the windowing system, returning TRUE on success.

Any arguments used by GDK are removed from the array and argc and argv are updated accordingly.

GTK+ initializes GDK in gtk_init() and so this function is not usually needed by GTK+ applications.

Parameters

argc gint*
 

The number of command line arguments.

 The argument will be modified by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
argv An array of gchar**
 

The array of command line arguments.

 The argument will be modified by the function.
 The length of the array is specified in the argc argument.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: gboolean
 

TRUE if initialization succeeded.