This function does the same work as init.
Additionally, it allows you to add your own command line options, and it automatically generates nicely formatted --help output. Clutter's and GStreamer's OptionGroup<!-- -->s are added to the set of available options.
Your program must initialise the GLib thread system using g_thread_init
before any other GLib functions are called.
argv |
A pointer to an array |
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 |
argc |
The number of arguments in |
clutter_init_success on success, a negative integer on failure. |