jd:/dev/blog

Aller au contenu | Aller au menu | Aller à la recherche

mardi, décembre 22 2009

Python cairo and XCB support

cairo has a Python binding (pycairo) since a long time, and some months ago a Python binding for XCB (xpyb) has been released.

Pycairo has no support for creating Xlib surfaces. You can get a Xlib surface from PyGTK and then use Pycairo to draw on it, but there's no way to create one directly.

What I've done is make Pycairo aware of xpyb so it can creates directly an XCB surface from a XCB connection and a drawable.

As said in my mail to the XCB list, I'm now waiting for a review before pushing this upstream. :-)

For the first time, I guess, XCB has beat Xlib support! ;-)

vendredi, août 15 2008

Documentation usefulness

I had this books since 2 years under my screens to raise them at work. Never though of opening them, I just realized what they are some days ago.

xlib-prog-man.jpg

That's probably why I became awesome without even knowing it. The truth is out there.

lundi, avril 7 2008

awesome: from 2 to 3

Last week I sent a mail about the upcoming developement strategy for awesome.

Long story short; we begin to work on awesome 3, dropping Xlib in favor of XCB, bringing out the first window manager using this bindings (if you do not count the demo one in the source repository ;-)).

Thanks to the amazing grunt work of Arnaud Fontaine, we already have a working version of awesome using XCB, and it works very very well. Better API, better code, and even faster code. That is awesome.

awesome 2.3-rc1 was released this morning so we'll begin shortly to work on the 3 branch and merge it into the master one.