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 explicitly if you are using gtk_init(), or gtk_init_check().

struct Main
static
bool
parseArgs
(
ref string[] argv
)

Parameters

argv string[]

a pointer to the array of command line arguments

Return: %TRUE if initialization succeeded, otherwise %FALSE

Meta