Title: GtkListStore

I am having performance problems with GtkListStore.  I am adding around say 500 rows all of which are being updated constantly.  I do:

path = gtk_tree_path_new_from_string(buf);
gtk_tree_model_get_iter(GTK_TREE_MODEL(store), &iter, path);

And then gtk_list_store_set(store, &iter, COLUMN_NAME, data, -1) to update the rows.  However this seems horribly slow to do everytime.

Am I using the right functions.  I have tried to copy the iters after it is set for the first time, but I cannot set to get it to work, it always just points to the last one.

Thanks for any help.

Michael Petnuch
-----  This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.

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