You were exactly right. Adding gtk thread support and gdk_flush() fixed it.
On 2/2/07, Michael L Torrie <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2007-02-02 at 16:02 -0700, Rob Barnes wrote:
> > I am using gtk_widget_queue_draw() already. The doc says,"Once the main
> lo
area.height);
return FALSE;
}
//Inside a asynchronous function
//marker is an ADT
gdk_draw_polygon (pixmap,marker.kontext,TRUE,marker->poly,4);
gdk_widget_queue_draw(drawing_area);
Thanks.
-RobB
On 2/2/07, Michael Ekstrand <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2007-
I'm trying to write a simple program that draws a moving polygon on the
screen. I started with the scribble-simple example and modified to draw the
moving shape by redrawing the shape in the background color in the previous
position first then drawing it in the foreground color in the current
posit