On Mon, Sep 08, 2003 at 02:05:13PM +0100, Gustavo J. A. M. Carneiro wrote:
> void console_view_scroll_to_bottom(ConsoleView *self)
> {
>     GtkTextBuffer *textbuf;
>     GtkTextMark *end_mark;
>     textbuf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(self->text_view));
>     end_mark = gtk_text_buffer_get_mark(textbuf, "end-of-buffer");
>     gtk_text_view_scroll_to_mark(GTK_TEXT_VIEW(self->text_view), end_mark,
>                                0, TRUE, 0.0, 1.0);
> }

Scary. -> FAQ 14.10

http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq14.010.htp

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