Jason Benjamin wrote: > I've read through the tutorial, and it shows how to use different images > with buttons. It also shows a little bit on how to use pixmaps with > DrawingArea. But I can't figure out how to place things like .gifs, > .jpgs, etc... on the DrawingArea. It would be nice, because then I can > get onto making my card game. Thanks for any help on this subject. > > BTW, I've researched this subject a lot and I haven't found an answer as > of yet. It would be nice if I could get my understanding of pygtk > finally ironed out.
You draw images on the DrawingArea in the same way you paint anything (like lines or points) on it, namely via a Drawable: gtk.gdk.Drawable.draw_image() Sincerely, Albert _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
