Re: Redrawing a widget
- From: Sven Neumann <sven gimp org>
- To: Ignacio Nodal <inodal teleline es>
- Cc: gtk-list gnome org
- Subject: Re: Redrawing a widget
- Date: 01 Feb 2001 15:47:41 +0100
Ignacio Nodal <inodal teleline es> writes:
> What's the meaning of this "queue" in the gtk_widget_queue_draw()
> function? There is no specific explanation in the GTK Reference Manual.
Look at the source in gtkwidget.c.
gtk_widget_queue_draw() puts the draw command into the redraw_queue
which will be executed from the idle loop. The advantage is that
multiple redraws are combined to one redraw if possible. This leads
to better performance and the application does not block like it
does when you call gtk_widget_draw().
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]