On Thu, 2007-03-29 at 16:22 -0300, Ivan Baldo wrote: > In gtk_label_size_request there is code to get the desired width and > height of the label, that could be called on the set_text and set_label > functions to see if they differ to the current allocated ones by a > threshold, and only then call gtk_widget_queue_resize_no_redraw > (expensive?) and always do a redraw (since the text is different so > something has changed). getting the height+width is not cheap with pango. checking that the text itself has not changed should be the first line of defense. also, on another note. it seems that some people think i am a GTK developer. i am not. i write applications with GTK and because they are extremely demanding and complex, i have been forced to grapple with GTK in a way that hopefully most of you are not. --p _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list