On Mon, 2011-01-03 at 00:46 +0900, Shyouzou Sugitani wrote: > When I call clutter.x11.set_use_argb_visual(True) at the top of my code, I > got > "Clutter-WARNING **: clutter_x11_set_use_argb_visual() can only be used > before > calling clutter_init()" message. > > Does "import clutter" call clutter.init() internally?
yes. > How to use clutter.x11.set_use_argb_visual() in pyclutter? mmh, you currently can't. the switch to introspection-based Python bindings would decouple importing from initializing, so it would be possible to have that particular function callable. ciao, Emmanuele. -- Emmanuele Bassi, Open Source Software Engineer Intel Open Source Technology Center _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
