Hello there!

I have a gtk.TreeView using a gtk.ListStore model, which is a list of music tracks. I've setted the "reorderable" property to TRUE in the gtk.TreeView object and I'm using a gtk.TreeIter to save the current playing item, called "current_track".

Well suppose that I have 5 music tracks on my list and the second track is playing, so the path associated to "current_track" when I use "model.get_path(current_track)" is (1,). When I drag the first element below the second, now "current_track" path is (0,), but, when I drag the row associated with "current_track" (now the first row), to another position, the path of "current_track" is None.

Is this the normal behavior or am I doing something wrong?

Thanks!
Regards!!
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to