Hi, I have written simple rss reader and I tested it with 10k items in feed.
Xml and parsing takes while (in second.) but drawing takes minutes Part taking care of drawing public void set_details(Feed feed, Client client) { title.set_markup("<b>" + feed.title + "</b>"); icon.set_from_file(feed.icon); foreach (Item cur_item in feed.items) { if (cur_item.read == "0") { var item_box = new Gtk.EventBox(); item_box.button_press_event.connect((event) => { /* open in default browser */ AppInfo.launch_default_for_uri(cur_item.link, null); /* mark item as read */ client.mark_item_read(cur_item.id); /* destroy widget with this item */ item_box.destroy(); return true; }); var item_buf = new Gtk.Label(cur_item.title); item_box.add(item_buf); text_box.pack_start(item_box, false, false); } } } _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list