Hide window while "busy"
- From: Ingvar Tjostheim <ingvar isafold com>
- To: gtk-app-devel-list gnome org
- Subject: Hide window while "busy"
- Date: Fri, 6 Feb 2004 11:16:00 -0600
I'm not too good with GTK yet, and need help with what probably is a simple problem.
When the user pushes a button in a window my program starts a pretty long process.
During this process I want the window to disappear, but when calling either
the window becomes disabled, but is still there.
I think that's because gtk_main is waiting for the button-function to finish, and the button-function is
waiting for the process.
With gtk_main_quit you can do like this:
to close the window in the same situation, but that does not work with gtk_widget_destroy or hide.
Is there another way?
] [Thread Prev