[pygtk] Drawing on custom widgets with colour

Gian Mario Tagliaretti gianmt at gnome.org
Fri Jul 27 03:44:01 WST 2007


2007/7/26, Tuomas Launiainen <tuomas.launiainen a iki.fi>:

Hi Tuomas,

> I'm experimenting with custom widgets in pygtk, and I can't get drawing
> to work with colours. I'm using the following method to do the actual
> drawing:

Sorry for the quick answer, I didn't read the whole code but for
drawing operations you will better use cairo, since you use 2.8 cairo
is available and it's  easier to use and have fun.

cheers
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list