On Sat, Oct 11, 2003 at 10:50:19PM +0000, Michal Pasternak wrote:
> Q: Why TreeView.expand_row doesn't work for paths logner, than 1 element?
> 
> A: TreeView.expand_row expands only the specified row, so you'd rather use:
> 
>    for a in range(len(path)):
>       tree_view.expand_row(path[:a+1], gtk.TRUE)
>    
>    to make sure all rows get expanded.

I started to add this one, but I'm not entirely sure what you mean. From
the code, it *looks* like you're expanding all the rows up to a certain
point (the target of the path), and then expanding the target's
children. Am I right?

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
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