On lundi 05 janvier 2009, Miguel Ángel García wrote:

> tb = gtk.TextBuffer()
> tb.get_text(*tb.get_bounds())
>
> with "get_bounds" you will get a vector of size 2. The '*' asterisk
> transforms the vector into the parameters of 'get_text', so you are
> saying: "give me the text from first character till last one".

Yes, but Ziwen was looking for a way to retreive all contents (pixbufs and 
so), not only the text...

-- 
    Frédéric

    http://www.gbiloba.org
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to