Michael Ott <[EMAIL PROTECTED]> writes:

> In my application i draw some graphs after reading it from socket. But
> before i draw the new graphs i have to clear the area. 
> How can i do this?

(a) You should do all drawing in the expose handler

(b) To redraw the widget, use gtk_widget_queue_draw(). To only redraw
    a part of the widget, use gtk_widget_queue_draw_are(). These
    functions will cause gtk+ to generate expose events.


S�ren
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to