I have an application where I dynamically add GtkButtons to a GtkFixed area. Whenever I add a button to the fixed area, everything to the right of and below the top left of the button I'm adding gets cleared out and then redrawn. This produces a flicker effect. The flicker is compounded by adding several buttons to the fixed area at a time (without returning control to the main loop); instead of one clear and redraw, there are clears and redraws for each button. From the documentation I've read, GTK widgets are supposed to be double-buffered so that things like this don't happen. I also read somewhere that the areas for the redraws should be intersected so that only one redraw happens for all of the invalidated areas. Obviously this isn't happening in my case. Can anyone suggest a way to stop the multiple redraws, as well as make only the button area redrawn (as opposed to everything to its right and below)?
Matt _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list