[pygtk] scrolledwindows and treeview
Neil Dugan
pygtk at butterflystitches.com.au
Mon Dec 29 10:26:32 WST 2008
francesco wrote:
> Hi, i have a treeview inside a scrolledwindows
> when i append a new row scrolledwindows daesn't scroll until bottom but
> stay up,
> if i scrolled by hand until bottom and so append a new row it scroll a
> bit and cover the last row inserted.
> HOw can i make scrolledwindows to scroll to show always the last row
> inserted?
>
> thanks and sorry for my poor english
>
>
>
This is what I use.
row_iter = model.append(.....)
path = model.get_path(row_iter)
self.listview.scroll_to_cell(path)
Regards Neil.
More information about the pygtk
mailing list