Functions¶
|
|
|
Details¶
- GtkClutter.init(argv)¶
- Parameters:
argv ([
str
] orNone
) – pointer to the arguments vector, orNone
- Returns:
Clutter.InitError.SUCCESS
on success, a negative integer on failure.- argv:
pointer to the arguments vector, or
None
- Return type:
(
Clutter.InitError
, argv: [str
])
This function should be called instead of
Clutter.init
() andGtk.init
().
- GtkClutter.init_with_args(argv, parameter_string, entries, translation_domain)¶
- Parameters:
argv ([
str
] orNone
) – a pointer to the array of command line arguments, orNone
parameter_string (
str
orNone
) – a string which is displayed in the first line of –help output, afterprogramname [OPTION...]
entries ([
GLib.OptionEntry
] orNone
) – aNone
-terminated array ofGLib.OptionEntry
s describing the options of your programtranslation_domain (
str
orNone
) – a translation domain to use for translating the –help output for the options in entries with gettext(), orNone
- Raises:
- Returns:
Clutter.InitError.SUCCESS
on success, a negative integer on failure.- argv:
a pointer to the array of command line arguments, or
None
- Return type:
(
Clutter.InitError
, argv: [str
])
This function should be called instead of
Clutter.init
() andGtk.init_with_args
().