On Thu, Apr 15, 2004 at 01:35:57PM -0400, William R. Dieter wrote:
> | last param should be 64*3 its the length of one row (rowstride)
> |
> |
> http://www.pygtk.org/pygtk2reference/class-gdkdrawable.html#method-gdkdrawable--draw-rgb-image
>
>
> Doh! That fixed it. That's what I get for coding on too little
> sleep.
> ~ I was thinking byte count.
[various snips]
So I took this opportunity to update section 8 of the FAQ. We now have:
8.5. How do I to display an image from data (using a drawable or
Image widget)?
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq08.005.htp
and
8.7. What if I want to add a PIL image to a drawable?
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq08.007.htp
I'm concerned these entries aren't correct or clear enough -- I'm sure
they could be improved at least. If anyone has comments or corrections,
feel free to write me or change the entries directly. Thanks!
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/