Re: hide gnome app and show again (...toolbar stays hidden)



On Fri, 2002-10-11 at 13:03, Philipp Heise wrote:
> so i want to hide the whole app and fork a process to show that the app 
> is working and the user has to wait.

hi, i don't know if your approach is the right one or if i have
understand your problem correctly. but you can do this. while your app
is heavily working (e.g. looping in a routine that does heavy stuff)
then your app is not usable and redrawing as you said won't work
anymore. the best thing is you put these few lines in your loop (the
loop that does all the heavy work). it will look every now and then for
pending events and work on them... it's like an interrupt.

if (gtk_events_pending ()) {
        gtk_main_iteration_do (TRUE);
}

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali akcaagac stud fh-wilhelmshaven de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa




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