Hi!
upfront, I'm sure my question isn't extraordinary as what I'm trying to
do is quite simple, however I wan't able to find any hints in the API,
the tutorial(s) or google so I turn to this list, sorry :)
        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 but there only seems to be get_iter_from_string()

Question: How do I get an iter to the row preceding the selected one?
alternatively, how do I implement moving a row upwards?

Thanks in advance and sorry if this is too obvious,
Johannes

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to