Re: can i make drawing anytime without expose_event?



i™ hƒ <bdragon2001 hotmail com> writes:

> ?Even using the double buffer,it still require use "gtk_widget_draw"
> to call the expose event.
> 
>     So how can i make drawing whenever i like?

What is the problem with gtk_widget_draw()? 

If the problem is that you don't want to draw the entire widget, then
use gtk_widget_draw_area(). 

If the problem is that you don't want to wait for an expose event,
then use gtk_widget_draw() followed by
gdk_window_process_all_updates().


Søren



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]