[pygtk] Log window

Frédéric frederic.mantegazza at gbiloba.org
Thu Sep 18 23:50:59 WST 2008


On jeudi 18 septembre 2008, Frédéric wrote:

> Ok, I finally made something running, using
> ScrolledWindow/TextView/TextBuffer...

Another point: I would like the textView scrolled to the bottom of the text 
when I open it. I use something like:

>>> textview.scroll_to_iter(textBuffer.get_end_iter(), 0.)

But it does not work in my app, I think because I do that *before* calling 
the dialog run() method.

Is there a way to automatically do this right after the dialog is opened? 
Is there a gtk feature to push an event and have it executed as first 
dialog event, right after it enters in its event loop?

Don't know if I am really clear :o/

-- 
    Frédéric

    http://www.gbiloba.org


More information about the pygtk mailing list