Based on my own confusion while reading section 12 of the tutorial, I propose the following changes.
Right before 12.1 Graphics Context | Note: Despite its name a DrawingArea is not itself a drawable. | It is a thin widget that wraps a drawable in this case a | gtk.gdk.Window which is available through the window atrribute | of the gtk.DrawingArea. Right after the title I would change the paragraph to the following. | A variety of methods are available to draw onto a drawable, | a gtk.gdk.Window or a gtk.gdk.Pixmap, but each requires a | graphics context (gtk.gdk.GC) to encapsulate the information | required in drawing. The attributes of a gtk.gdk.GC are: I would change gc = widget.window.new_gc(... to gc = drawable.new_gc(... -- 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/
