init_check


Description:


public bool init_check (ref unowned string[] argv)

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 argv.length and argv are updated accordingly.

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

Parameters:

argv

the array of command line arguments.

argc

the number of command line arguments.

Returns:

true if initialization succeeded.


Namespace: Gdk
Package: gdk-3.0