RE: gtk progress bar and gdk_flush()



Use the fooling code to refresh progressbar will work, But the new
problem is that user may click other button during this loop.

   while (gtk_events_pending ()) gtk_main_iteration ();


-----Original Message-----
From: Joao Rainha [mailto:jrainha olivia inesc-id pt] 
Sent: Friday, October 24, 2003 12:44 PM
To: Tom Liu
Subject: Re: gtk progress bar and gdk_flush()

On Friday 24 October 2003 17:01, Tom Liu wrote:
Hi,
hi!

I am working on the progress bar, I can't my progress bar updated in a
loop:

Im only a newbie at GTK, but try to check this
http://lidn.sourceforge.net/books/gtk-2.0/book/gtk-general.html#GTK-EVEN
TS-PENDING

hope it helps...


-- 
Regards,

João Rainha




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