gtk_drawing_area_size flicker question



Hi,

My app loads around 30 pixmaps (232x18), draws them one after another in a
GtkDrawingArea .. so its height is numpixmaps * 18, if more need to be added or
removed then its resized again to numpixmaps * 18, i'm seeing flicker during the
resize .. looks like different blocks of the pixmaps flicker and is quite
annoying, someone mentioned using double buffering so I only add one pixmap to
the drawing area, would this stop flicker? is it sensible to destroy and
recreate s pixmap this large (and draw my 30 or so pixmaps) every time something
changes? ( a few times per minute ).

30 is just an arbitrary number, the number of pixmaps can really be any amount.

Ideas?

Thanks.

--
David Raufeisen
Cell: (604) 818 - 3596




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]