Re: gtk progress bar
- From: carlos pehoe civil ist utl pt (Carlos Pereira)
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk progress bar
- Date: Fri, 24 Oct 2003 20:20:32 +0100 (WEST)
while (gtk_events_pending()) gtk_main_iteration ();
yes, yes, yes
gdk_window_set_modal_hint (pg->window, FALSE);
I think the Gtk progress bar should do this for us. Because most
progress bar should put in a long loop.
Modal widgets should be used only when strictly necessary.
Usually they are evil.
Let's imagine this:
1) your user starts a calculation;
the progress bar starts; it turns modal;
2) then she/he realizes that the whole thing takes 15min;
she/he wants to cancel the task. But the Cancel
button is blocked...
You are not going to be very popular...
(Sorry if I missed something)
Carlos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]