Re: How to force a window to resize?
- From: January Weiner 3 <jweiner1 ix urz uni-heidelberg de>
- To: "Felix E. Klee" <felix klee inka de>
- Cc: gtk-app-devel <gtk-app-devel-list gnome org>
- Subject: Re: How to force a window to resize?
- Date: Fri, 22 Jun 2001 17:00:17 +0200 (METDST)
I am creating a little program that does a computation and updates the
display from time to time. Because I don't want to use multithreading or
timer objects I have to call
gtk_widget_draw(mainWindow, &rect);
manually after making changes to the main window. However, when I resize
widgets the size of the window changes only after the computation has
finished and control is given back to the GTK event loop.
How can I force the window to resize itself immediately after changing
its size?
while(gtk_events_pending()) gtk_main_iteration() ;
j.
----)-\//-///-----------------------------------January-Weiner-3-------
To you, I'm an atheist; to God, I am the Loyal Opposition [Woody Allen]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]