An introduction to pyclutter (part two)

September 30th, 2007

This tuto­r­ial is out­dated: it refers to ver­sion 0.4 of clut­ter 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 some­thing into that stage.

Let do a sum­mary 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

(Con­tinue reading…)

4 Comments, tagged with Coding, Python, clutter, gtk

An introduction to pyclutter (part one)

September 23rd, 2007

This tuto­r­ial is out­dated: it refers to ver­sion 0.4 of clut­ter that now is VERY old.

This tuto­r­ial is the first of a series that will try to learn to you how to use clut­ter with the help of python, or better: a tuto­r­ial about pyclutter.

But before to begin, it’s better to give an overview on what clut­ter is. Citing the clutter’s homepage:

Clut­ter is an open source soft­ware library for cre­at­ing fast, visu­ally rich and ani­mated graph­i­cal user inter­faces. Clut­ter uses OpenGL (and option­ally OpenGL ES) for ren­der­ing but with an API which hides the under­ly­ing GL com­plex­ity from the devel­oper. The Clut­ter API is intended to be easy to use, effi­cient and flex­i­ble.

That said, while clut­ter is the main library (writ­ten in C), there are bind­ings to other lan­guages like perl, vala, ruby, C# and python. The python bind­ing is com­monly named pyclutter.

The require­ments needed to better follow the tuto­r­ial 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

(Con­tinue reading…)

11 Comments, tagged with Coding, clutter, gtk

About Clutter

September 17th, 2007

About a week ago I dis­cov­ered the clut­ter project:

Clut­ter is an open source soft­ware library for cre­at­ing fast, visu­ally rich and ani­mated graph­i­cal user inter­faces.

Today, they released the 0.4.2 ver­sion, that’s mainly a bugfix release. With this release, you’ll find my (little) con­tri­bu­tion too. Give it a try, it’s a very inter­est­ing project.

0 Comments, tagged with Coding

When you’re a collector (and a programmer)

September 14th, 2007

As above, when you’re both a col­lec­tor and a pro­gram­mer, strange things could happen. I’m a beer coaster col­lec­tor and my col­lec­tion now reached 250+ unique items so it became a bit a mess to keep that well organized.

So that’s why a devel­oped Beer­Coaster man­ager. Yes, I done a pro­gram that help me to keep my col­lec­tion orga­nized. It is still a bit rudi­men­tary but does its job pretty well. So, if you’re a beer coaster col­lec­tor like me, you’ll found this useful.

It’s writ­ten in Python and uses sqlite as data­base to store it’s infor­ma­tions, so it is portable across var­i­ous plat­forms (i.e.: you can copy & paste your files from Linux to Win­dows and it will keep working).

Cur­rently, it can be down­loaded only by SVN and it is every­thing but stable. I hope to release some­thing good within the end of year.

The project home­page is hosted on Google project: http://​bcman​ager.​google​code.com/

Get­ting it work­ing under Win­dows, cur­rently, is really hard: for the final releases, though, I should pro­vide a Win­dows installer.

0 Comments, tagged with Coding, Geekness, Me, Python, gtk

Next Page »

Microblogging

July 29th

twitter (feed #2)
Python's date & time functions are horrible. Really. [krat]
2:31pm via Twitter
twitter (feed #2)
Wondering whether I should buy a new set of hearphones or if I should try to fix the old ones [krat]
11:13am via Twitter

July 28th

twitter (feed #2)
discovered beeseek (http://beeseek.org), looks like a very interesting project [krat]
6:08pm via Twitter

July 26th

twitter (feed #2)
just wrote down some help numbers for my next trip, the most important one being the italy's embassy [krat]
2:12pm via Twitter

July 24th

twitter (feed #2)
that's what I call hot weather [krat]
2:00pm via Twitter

July 23rd

twitter (feed #2)
Looking for an (italian|english)<->bulgarian dictionary [krat]
2:05pm via Twitter
twitter (feed #2)
home, sweet home. [krat]
10:10am via Twitter

July 22nd

twitter (feed #2)
Heading to bulgaria (sunny beach) this summer. Not one of the classical holidays places, that's for sure. [krat]
8:50am via Twitter

July 19th

twitter (feed #2)
I hate hotels. [krat]
2:32pm via Twitter

July 17th

twitter (feed #2)
Back in Italy. Discovered this P3 disgusting thing. Want to go back in Spain. [krat]
12:20pm via Twitter

Powered by Lifestream.

Search

« Authored by Giuliani Vito Ivan »