Re: widget redraw




Marsel Osipov <virtuoso@jps.net> writes:

> Hello all
> 
> How would a make the widget redraw itself?

 gtk_widget_queue_clear (widget);

Is usually correct. This will queue a redraw later.
If you want an immediate draw, you can do:

 gtk_widget_draw (widget);

However, unless you are writing a widget (or possibly
using a DrawingArea widget), you should never have
to do either one. The standard GTK+ widgets should
redraw themselves as appropriate.

Regards,
                                        Owen



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