Main.parseArgs

Parses command line arguments, and initializes global attributes of GTK+, but does not actually open a connection to a display. (See gdk_display_open(), gdk_get_display_arg_name()) Any arguments used by GTK+ or GDK are removed from the array and argc and argv are updated accordingly. There is no need to call this function explicitely if you are using gtk_init(), or gtk_init_check().

class Main
static
int
parseArgs
(
ref string[] argv
)

Parameters

argv string[]

a pointer to the array of command line arguments. [array length=argc]inout

Return Value

Type: int

TRUE if initialization succeeded, otherwise FALSE.

Meta