GtkClutter.init_with_args
function init_with_args(argv: Array(String), parameter_string: String, entries: Array(GLib.OptionEntry), translation_domain: String): [return_value: Clutter.InitError, argv: Array(String)] { // Gjs wrapper for gtk_clutter_init_with_args() }
This function should be called instead of clutter_init() and gtk_init_with_args().
- 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 GLib.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
- return_value
%CLUTTER_INIT_SUCCESS on success, a negative integer on failure.
- argv (out)
a pointer to the array of command line arguments, or null