parse_args

function parse_args(argv:[String]):Boolean {
    // Gjs wrapper for gtk_parse_args()
}

Parses command line arguments, and initializes global attributes of GTK+, but does not actually open a connection to a display. (See Gdk.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 init, or init_check.

argv

a pointer to the array of command line arguments

Returns

true if initialization succeeded, otherwise false