I am trying to write a function that draws stuff in a drawingarea immediately. I want the images to be drawn directly when I call the function.
What I am trying to make is something like this: void main_function(...) //called directly after program start {... My_drawing_function(...); //the image displayed in the drawingarea has changed getchar(); ... //exit program } I figured the problem comes from the double-buffering and I tried to disable it using: GTK_WIDGET_UNSET_FLAGS (window1,GTK_DOUBLE_BUFFERED); But it didn't work. So how can I disable double-buffering? Or if the problem is coming from something else, where is it? Regards, Zoidberg __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list