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 --help output, after programname [OPTION...]

entries

a null-terminated array of OptionEntrys describing the options of your program

translation_domain

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

argc

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

Returns:

SUCCESS on success, a negative integer on failure.


Namespace: GtkClutter
Package: clutter-gtk-1.0



2022 vala-language.org