Hi,
I am having some problems trying to draw things in a GtkDrawingArea
I have a function that's called from a handler, this function loops for a while making some calculations related to the program, and inside the loop i have a gdk_draw_rectangle(), to draw in the drawing area, but when i run the program it executes all the loop and after it, all the drawings are drawn.
How can I do to draw in the darea from inside my loop and make it appears in the screen while it is looping?
You need to trigger an expose event at every iteration so that the widget is redrawn.