On Fri, 2009-06-26 at 21:50 +0200, Daniel Elstner wrote: > So, yes, Murray's approach is fine in that regard. The code also > avoids > rescaling the image if the widget size hasn't changed, so there is no > performance difference either. > > I called it "bold" purely on my gut feeling that changing the logical > state of a widget while it is being drawn is asking for trouble. The > expose event handler is supposed to draw a representation of the > current > logical widget content, and not change the content.
Maybe that optimization was to prevent an infinite loop. I forget. But I'll fix it to work as you suggest. -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
