Functions

  init (argv)
  init_with_args (argv, parameter_string, entries, translation_domain)

Details

GtkClutter.init(argv)
Parameters:argv ([str] or None) – pointer to the arguments vector, or None
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() and Gtk.init().

GtkClutter.init_with_args(argv, parameter_string, entries, translation_domain)
Parameters:
  • argv ([str] or None) – a pointer to the array of command line arguments, or None
  • parameter_string (str or None) – a string which is displayed in the first line of –help output, after programname [OPTION...]
  • entries ([GLib.OptionEntry] or None) – a None-terminated array of GLib.OptionEntry s describing the options of your program
  • translation_domain (str or None) – a translation domain to use for translating the –help output for the options in entries with gettext(), or None
Raises:

GLib.Error

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() and Gtk.init_with_args().