This tutorial is outdated: it refers to version 0.4 of clutter that now is VERY old.
Last time we learned how to have our first stage drawn, so now it’s time to begin to insert something into that stage.
Let do a summary of what we are going to do in this “lesson”:
- change the stage’s color
- add a rectangle to the stage
- add another rectangle to the stage
(Continue reading…)
This tutorial is outdated: it refers to version 0.4 of clutter that now is VERY old.
This tutorial is the first of a series that will try to learn to you how to use clutter with the help of python, or better: a tutorial about pyclutter.
But before to begin, it’s better to give an overview on what clutter is. Citing the clutter’s homepage:
Clutter is an open source software library for creating fast, visually rich and animated graphical user interfaces. Clutter uses OpenGL (and optionally OpenGL ES) for rendering but with an API which hides the underlying GL complexity from the developer. The Clutter API is intended to be easy to use, efficient and flexible.
That said, while clutter is the main library (written in C), there are bindings to other languages like perl, vala, ruby, C# and python. The python binding is commonly named pyclutter.
The requirements needed to better follow the tutorial are:
- a good python knowledge (of course); if you don’t know it, you can always learn it by following the excellent dive into python
- some basic knowledge of how the GTK environment works; although it isn’t really needed since we won’t use GTK functions, it is very useful since, under a certain point of view, clutter inherits many things from GTK
- clutter 0.4.2 or newer
(Continue reading…)
About a week ago I discovered the clutter project:
Clutter is an open source software library for creating fast, visually rich and animated graphical user interfaces.
Today, they released the 0.4.2 version, that’s mainly a bugfix release. With this release, you’ll find my (little) contribution too. Give it a try, it’s a very interesting project.
As above, when you’re both a collector and a programmer, strange things could happen. I’m a beer coaster collector and my collection now reached 250+ unique items so it became a bit a mess to keep that well organized.
So that’s why a developed BeerCoaster manager. Yes, I done a program that help me to keep my collection organized. It is still a bit rudimentary but does its job pretty well. So, if you’re a beer coaster collector like me, you’ll found this useful.
It’s written in Python and uses sqlite as database to store it’s informations, so it is portable across various platforms (i.e.: you can copy & paste your files from Linux to Windows and it will keep working).
Currently, it can be downloaded only by SVN and it is everything but stable. I hope to release something good within the end of year.
The project homepage is hosted on Google project: http://bcmanager.googlecode.com/
Getting it working under Windows, currently, is really hard: for the final releases, though, I should provide a Windows installer.