gboolean gtk_parse_args ( int* argc, char*** argv )
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
argv are updated accordingly.
There is no need to call this function explicitly if you are using gtk_init(), or gtk_init_check().
Note that many aspects of GTK+ require a display connection to function, so this way of initializing GTK+ is really only useful for specialized use cases.
Available since: 3.0
A pointer to the number of command line arguments.
The argument will be modified by the function.
Type: An array of
A pointer to the array of command line arguments.
The argument will be modified by the function. The length of the array is specified in the
The caller of the function takes ownership of the data, and is responsible for freeing it. Each element is a NUL terminated UTF-8 string.