[pygtk] pygtk, drawing area
finlay at moeraki.com
Tue Nov 4 04:16:58 WST 2008
Tomáš Dohnálek wrote:
> i have some trouble with drawing area. I am actually not able to
> configure colours of lines and other object.
> widget.window.draw_rectangle(self.gc, True, x*70, y*70, 70, 70)
> I thought that this will work fine, but the line is black.
You need to allocate the color. see:
More information about the pygtk