On Fri, Oct 10, 2003 at 08:08:00PM +0100, Rob Scott wrote: > From what I understand, a gtk.Layout does not have a > gtk.gdk.Window, or at least not one with a new_gc > method. > > So, it is not possible to draw to a gtk.Layout, > because it has no drawable. > > Am I right?
Yes, you are. But the Layout will draw upon its parent window (or its closest ancestor with a window), so I presume you could draw on that. You may also be able to pack it inside a GtkEventBox, which *does* have a window, and draw on that. Take care, -- Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331 _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
