Function

Gdkparse_args

since: 2.2

Declaration [src]

void
gdk_parse_args (
  gint* argc,
  gchar*** argv
)

Description [src]

Parse command line arguments, and store for future use by calls to gdk_display_open().

Any arguments used by GDK are removed from the array and argc and argv are updated accordingly.

You shouldn’t call this function explicitly if you are using gtk_init(), gtk_init_check(), gdk_init(), or gdk_init_check().

Available since: 2.2

Parameters

argc

Type: gint*

The number of command line arguments.

The argument will be modified by the function.
argv

Type: An array of gchar**

The array of command line arguments.

The argument will be modified by the function.
The length of the array is specified in the argc argument.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.