Re: reordering GtkListStore items



Mikhail Sobolev wrote:
On Sat, Mar 20, 2004 at 10:07:53PM +0200, Paul Pogonyshev wrote:
David M. Cook wrote:
On Sat, Mar 20, 2004 at 01:03:08AM +0200, Paul Pogonyshev wrote:

Is there an easy way to swap a given list store item with
next/previous item?  I'm facing two problems: there appear
to be no reordering functions in GTK+ 2.0 (all marked as
"since 2.2") and there is gtk_tree_model_iter_next(), but
no gtk_tree_mode_iter_previous().
As you said you are working with a list_store model, you could check
gtk_list_store_move_after/before functions...

Quote:

        there appear to be no reordering functions in GTK+ 2.0
        (all marked as "since 2.2")

gtk_list_store_move_after/before are "since 2.2" as well.

Paul


P.S. As I mentioned in another message, I solved the problem already.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]