Thanks a lot I shall put all my drawings in the expose event and try my application again. I had taken the sample program form GdkRGB chapter (gdk API Reference) and was trying it the other way round .
So whenever I want some drawings to happen in my drawable I should better call a gtk_widget_queue_draw_area() or gdk_window_invalidate_rect() and do all the drawing in the expose event callback . Please correct me if I have understood it wrongly Behalf Of Havoc Pennington >What you should do is call gtk_widget_queue_draw_area() or >gdk_window_invalidate_rect() for the rectangle containing the >"e". Then you will get an expose event for that area, and then you >paint the "e" >So all drawing is in the expose handler. Havoc _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
