[cairo] Dealing with drawingArea update (refresh) for multiple drawings.

Sebastian Koppehel basti at bastisoft.de
Fri Aug 25 18:16:31 PDT 2006


Am Freitag, den 25.08.2006, 17:35 -0300 schrieb Gustavo Sikora:

> I have an empty
> drawingArea and buttons to let me insert elements. After each insetion
> I wish to draw the current state of the structure. Now, I'm only able
> to draw the first node, and for some reason the expose_event only
> applies when I minimize the interface and open it again.

You must invalidate (the required part of) the drawing area's window by
calling (for example) gdk_window_invalidate_rect() on it.

 - Sebastian




More information about the cairo mailing list