Re: gtk progress bar and gdk_flush()
- From: Tristan Van Berkom <vantr touchtunes com>
- To: Tom Liu <tom liu flextrade com>
- Cc: jrainha olivia inesc-id pt, gtk-app-devel-list gnome org
- Subject: Re: gtk progress bar and gdk_flush()
- Date: Fri, 24 Oct 2003 13:19:20 -0400
Tom Liu wrote:
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 ();
<snip>
You could:
A.) make the widgets that you dont want to be clicked "insensitive"
B.) make your progressbar "modal" for your application. modal iirc is a
property of an X window, anyway; it means that that is the only
window that will recieve mouse events, usualy used for "OK|CANCEL"
popups.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]