Python-Clutter development notes

ModRana? will in the future use Clutter as an alternative to the current non-accelerated GTK GUI. Unfortunately, the documentation to the Python bindings for Clutter is in a sad state. This page serves as a compilation of various Clutter & Python related development notes, with the hope to piece together some sort of documentation for the most needed elements :)

NOTE: all of this information concerns Python bindings for Clutter 1.0

Gathered resources

documentation from various sources

official incomplete documentation, taken from Debian PyClutter package: for the package.

official documentation improved by Paolo Marti, from his GitHub page:

PyClutter tutorial, also by Paolo Marti:

complete examples for the above mentioned tutorial:

a short PyClutter tutorial by TuxRadar:

a small PyClutter recipe:

rounded rectangle actor in Python:

rounded rectangle actor in Python using Gobject introspection:

rounded rectangle actor in Python - wiki version:

working with images in Python-Clutter:

creating Clutter texture from Pixbuf:

creating a floating layout using Python and Clutter:

custom Clutter Actor using Python:


actors not getting motion notify events

Call set_reactive(True) on the actor and it will start receiving motion notify events. Clutter does this probably as an optimization, eq. it has to handle the motion notify event only for actors that request it.

compiling more recent clutter version

Raw compilation notes

available methods

summary of available methods

Last modified 13 years ago Last modified on Apr 22, 2011, 2:27:02 AM