On Fri, 25 Jun 2004 19:04:09 -0700 John Finlay <[EMAIL PROTECTED]>
wrote:
> 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?
I'm using what debian unstable gives me, debian versions python-gtk2
2.3.92-1 and libgtk2.0 2.4.3-1
gtk.pygtk_version gives me (2, 2, 0)
> >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
I get the above error message.
> This is a GTK+ bug. I filed a bug report. It doesn't seem to prevent
> the rows from being moved.
Same here -- I get this warning but the row moves. If I hit "Down"
again, though, nothing happens ("No selection") and I can no longer
change the selection by clicking.
> John
Tom
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/