The solution was to perform the sort myself. The update is now nearly 20x
faster.
--
Jeffrey Barish
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Jeffrey Barish wrote:
Damien Caliste wrote:
Hello,
If I'm not wrong, you may be interested with
gtk-list-store-insert-with-values() function:
http://library.gnome.org/devel/gtk/unstable/GtkListStore.html#gtk-list-store-insert-with-values
Thank you for your suggestion. The documentation is
Damien Caliste wrote:
> Hello,
>
> If I'm not wrong, you may be interested with
> gtk-list-store-insert-with-values() function:
>
http://library.gnome.org/devel/gtk/unstable/GtkListStore.html#gtk-list-store-insert-with-values
Thank you for your suggestion. The documentation is characteristicall
Hello,
Le 07/06/2008, Jeffrey Barish <[EMAIL PROTECTED]> a écrit :
> improves a bit. If I never set the sort column ID, performance
> improves even more.
If I'm not wrong, you may be interested with
gtk-list-store-insert-with-values() function:
http://library.gnome.org/devel/gtk/unstable/GtkListS
The first time I load the liststore (during program start), it loads
quickly. Then I set sort column ID so that I can sort by column. When I
clear the liststore and load the next data set, the treeview updates slowly
even when it's actually the same dataset. If I substitute a simple sort
functio