Hi,

> #Now 'text' is positioned at the top; how do I set it to the bottom.
> #I looked for something like set_scroll_pos(pos), but couldn't find such.

You should have a look at the section on GtkAdjustment in the Gtk
documentation. It provides a generic class to deal with numerical ranges.
For your problem, you can do something like:

adjustment = text.get_vadjustment ()
print adjustment.upper
adjustment.set_value (adjustment.upper)

(you have to show () your widget before, or else the adjustment size won't
be correct).

Fr�d�ric
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to