Johannes Jordens writes: > I'd like to implement moving a row in a TreeView, > specifically in a ListStore, up/down via two buttons. I have implemented > moving the row downwards using the iter_next(iter) function so that > I have an iter on the row below the one currently selected. > But: there is no corresponding function to iter_next if one wants to > have an iter on the preceding row (at least I couldn't find one). > So I figured that there must be some function to turn an iter into a > path
I think you need the .get_path(iter) method of TreeModel (just to make sure: iter_next and similar methods don't move a row, you have to do that by removing and reinserting the row. But I guess you already know that :) ) -- Abel Daniel _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
