Re: [gtkmm] Forcing redraw of window, without returning to main event loop
- From: Antonio Jose Sáenz Albanés <antoniojose saenz isotrol com>
- To: Daniel Evison <devison pacificit co nz>
- Cc: gtkmm mailing list <gtkmm-list gnome org>, Paul Davis <pbd op net>
- Subject: Re: [gtkmm] Forcing redraw of window, without returning to main event loop
- Date: Wed, 31 Jul 2002 17:23:53 +0200
Daniel Evison wrote:
Well actually the single call of gtk_main_iteration didn't work for me, but
with the while loop it did! I guess that there are multiple events to be
handled (including a number of redraw events) and the loop is necessary...
So I think the complete solution could be...
do {
gtk_main_iteration();
}
while (gtk_events_pending());
so redraw will be called with no events pending.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]