Gdk.init

Initializes the GDK library and connects to the X server. If initialization fails, a warning message is output and the application terminates with a call to exit(1). 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.

class Gdk
static
void
init
(
ref string[] argv
)

Parameters

argv string[]

. [array length=argc]inout

Meta