Doug Quale wrote:
Thomas Mills Hinkle <[EMAIL PROTECTED]> writes:
I'm having trouble moving the treeView selection. Specifically, when I
use move_up and move_down, the selection occasionally stops working.
When it breaks, the widget continues to show my selection, but future
calls that ask for it get no selection at all and I can't change the
selection by clicking.
I'd like to know if anyone else gets the same behavior or has any
insight into what's going on.
It seems to work for me with PyGTK CVS and GTK+ 2.4. What versions are
you using?
Unfortunately I can't tell you why your code doesn't work. When I try
it, I get gtk+ critical errors like this:
$ python treeviewexample.py
path_next called w/ path=(5,), inc=-1
path_next returning (4,) to be selected
(treeviewexample.py:15221): Gtk-CRITICAL **: file gtkrbtree.c: line 1000
(_gtk_rbtree_reorder): assertion `tree->root->count == length' failed
This is a GTK+ bug. I filed a bug report. It doesn't seem to prevent the
rows from being moved.
John
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/