Re: slow gtk.label drawing

2011-07-25 Thread Vlad Volodin
Hello Yeti, It seems that it would be better to slightly optimize the code and do not create many widgets at once. You know how Google Reader works: it loads RSS feeds by small portions. I think that you can do a similar approach in your application. Thanks, Vest _

Re: slow gtk.label drawing

2011-07-25 Thread David Nečas
On Mon, Jul 25, 2011 at 04:50:09PM +0200, Pavol Klačanský wrote: > 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 Creating tens of thousands of widgets that mostly will not be displayed indeed take

slow gtk.label drawing

2011-07-25 Thread Pavol Klačanský
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("" + feed.title + ""); icon.set_from