[gtk-list] gtk_container_check_resize performance
- From: Raph Levien <raph acm org>
- To: gtk-list redhat com
- Subject: [gtk-list] gtk_container_check_resize performance
- Date: Sat, 10 May 1997 18:43:34 -0700
Like Shawn Amundson, I have run into performance issues with
gtk_container_check_resize. What really slows things down is adding
widgets dynamically to a container that is already mapped and visible.
Basically, every time a new child gets added, the whole tree gets
recomputed and redrawn (I think). I'm not sure what's the best solution
to the problem. My best guess is to try to defer the redraw until after
all widgets have been added (say, by taking a trip or two through the
idle loop), but it's not clear to me how to do this.
This is a problem for gzilla because the HTML page is a container and
all of the images, form thingies, and tables are widgets inside. All
these widgets get added whille the page is displayed because of
Now that the gtk_container_check_resize logic has displayed both
correctness and performance problems, it may be time to rethink it.
To unsubscribe: mail -s unsubscribe firstname.lastname@example.org < /dev/null
] [Thread Prev