GtkFixed redraws
- From: Matt Moseley <list_matt bellsouth net>
- To: <gtk-app-devel-list gnome org>
- Subject: GtkFixed redraws
- Date: Thu, 10 Feb 2005 23:10:06 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]