On Sat, 26 Jun 2004 16:49:28 -0400 Thomas Mills Hinkle > > >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
Since my pygtk seemed to think it was version 2,2,0, I build and installed my own pygtk 2.3.92 from the tarball on pygtk.org. I now get the correct pygtk version number (2,3,92) (and gtk_version returns (2,4,3). Unforunately, I get the same behavior I observed earlier. I'm also finding that move_before and move_after segfault in some other code I've written. I'll try to work up an example piece of code shortly. The treeStore is not in sort mode and the move_before and move_after are called from the drag_data_received signal. Actually, if anyone can point me to an example that uses dragndrop to reorganize rows, I'd be appreciative. One reason I'm hesitant to work up some example code is that my current code is quite hackish -- I'd love to see an example of how to do this more elegantly! Thanks, 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/
