I have just written my first application with a
gtk.DrawingArea. Can someone explain why I have to
do anything usefull with it I always have to
refer to the window attribute.

Why not

  DA = gtk.DrawingArea()
  ...
  gc = DA.new_gc()
  DA.draw_point(gc , x , y)

instead of

  DA = gtk.DrawingArea()
  ...
  gc = DA.window.new_gc()
  DA.window.draw_point(gc , x , y)


The way it is done now just seems to
complicate things whithout good
reason.

-- 
Antoon Pardon
_______________________________________________
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