Hi; On 30 October 2015 at 16:43, Andrea Zagli <aza...@libero.it> wrote: > is there a data type, similar to array, that preserve the order on which > elements are inserted?
All the array and list types preserve the order of insertion. For obvious reasons, GHashTable doesn't. > for example ghashtable and gptrarray doesn't preserve the order, so when > they are traversed (for example with a "for" cicle, regarding gptrarray) the > order may be not the same when elements are inserted GPtrArray preserves the order of insertion — it's an array, after all. Why do you think it does not? Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list