init_with_args


Description:


public InitError init_with_args (ref unowned string[]? argv, string? parameter_string, OptionEntry[]? entries, string? translation_domain) throws Error

This function should be called instead of init and init_with_args.

Parameters:

argv

a pointer to the array of command line arguments, or null

parameter_string

a string which is displayed in the first line of <option>--help</option> output, after <literal><replaceable >programname</replaceable> [OPTION...]</literal>

entries

a null-terminated array of OptionEntry<!-- -->s describing the options of your program

translation_domain

a translation domain to use for translating the <option>--help</option> output for the options in entries with gettext, or null

argc

a pointer to the number of command line arguments, or null

Returns:

clutter_init_success on success, a negative integer on failure.


Namespace: GtkClutter
Package: clutter-gtk-1.0