On Wed, Jun 25, 2003 at 02:14:16PM -0700, Mark C. Mason wrote:
> 
> Regarding my previous message, here is the error from python:
> 
> 
> pixbuf = gtk.gdk.Pixbuf.get_from_drawable(widget.window, 0, 0, 0, 0, 0,
> width, height)
> TypeError: descriptor 'get_from_drawable' requires a 'gtk.gdk.Pixbuf'
> object but received a 'gtk.gdk.Window'

You're calling the class method. Be sure to instantiate a Pixbuf first,
as John (IIRC) suggested. This is a basic Python issue, btw, not really
related to pygtk..

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
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