Gdk.initCheck

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.

struct Gdk
static
bool
initCheck
(
ref string[] argv
)

Parameters

argv string[]

the array of command line arguments.

Return: %TRUE if initialization succeeded.

Meta