[pygtk] pygtk, drawing area

Tomáš Dohnálek dohnto at gmail.com
Tue Nov 4 03:04:24 WST 2008


Hello,
i have some trouble with drawing area. I am actually not able to
configure colours of lines and other object.

self.gc.set_foreground(gtk.gdk.Color(10000,10000,60000))
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.

Can anyone help me?
Thanks for your time


More information about the pygtk mailing list