On Tue, 2002-06-11 at 05:30, Ricardo Caesar Lenzi wrote:
> How can I set the background of on GnomeCanvas widget?
To set the canvas background to white I add a big white rectangle :)  (A
hack?  Maybe, but it works.)

c = GnomeCanvas(0)
c.set_scroll_region(0.0, 0.0, 700.0, 200.0)
c.root().add('rect', x1=0.0, y1=0.0, 
              x2=700.0, y2=200.0,
              fill_color="white")
-- 
Michael JasonSmith      http://www.cosc.canterbury.ac.nz/~mpj17/
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to