Re: Status for long-running operation

2010-09-21 Thread Paul Davis
On Mon, Sep 20, 2010 at 2:37 AM, richard boaz wrote: > On Sun, Sep 19, 2010 at 8:33 PM, Paul Davis > wrote: >> >> On Sat, Sep 18, 2010 at 3:24 AM, richard boaz wrote: >> > yep, i concur with the set sensitive method. >> >> all good, except that in an ideal world, the sensitivity changes are >> a

Re: Status for long-running operation

2010-09-21 Thread Pádraig Brady
On 17/09/10 22:01, Jeffrey Barish wrote: > My application has one operation that runs for a long time (~1 minute). > During this time, the user is not allowed to do anything. Nevertheless, I > felt that it was important to give the user some feedback that the > application is still alive and t

Re: Status for long-running operation

2010-09-19 Thread richard boaz
On Sun, Sep 19, 2010 at 8:33 PM, Paul Davis wrote: > On Sat, Sep 18, 2010 at 3:24 AM, richard boaz wrote: > > yep, i concur with the set sensitive method. > > all good, except that in an ideal world, the sensitivity changes are > applied to GtkAction's, not widgets. this way, keybindings and othe

Re: Status for long-running operation

2010-09-19 Thread Paul Davis
On Sat, Sep 18, 2010 at 3:24 AM, richard boaz wrote: > yep, i concur with the set sensitive method. > the way i do this is: when the user: > > executes something that gets done in the background, > that requires some time, > is non-interruptable, > and must complete before any next user action al

Re: Status for long-running operation

2010-09-18 Thread Milosz Derezynski
Very good. Your text should be IMHO added to library.gnome.org. On Sat, Sep 18, 2010 at 9:24 AM, richard boaz wrote: > yep, i concur with the set sensitive method. > > the way i do this is: when the user: > >- executes something that gets done in the background, >- that requires some tim

Re: Status for long-running operation

2010-09-18 Thread richard boaz
yep, i concur with the set sensitive method. the way i do this is: when the user: - executes something that gets done in the background, - that requires some time, - is non-interruptable, - and must complete before any next user action loop over a list of GtkWidget pointers i have sa

Re: Status for long-running operation

2010-09-17 Thread Milosz Derezynski
One option as already said is a modal dialog with progress bar, another option is to have a progress bar in the main GUI and set the rest of the GUI insensitive (you _really_ should familiarize yourself with gtk_widget_set_sensitive() ). http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#g

Re: Status for long-running operation

2010-09-17 Thread Jeffrey Barish
Lex Trotman wrote: > On 18 September 2010 08:22, Jeffrey Barish > wrote: >> Jeffrey Barish wrote: >> >>> My application has one operation that runs for a long time (~1 minute). >>> During this time, the user is not allowed to do anything. Nevertheless, >>> I felt that it was important to give th

Re: Status for long-running operation

2010-09-17 Thread Lex Trotman
On 18 September 2010 08:22, Jeffrey Barish wrote: > Jeffrey Barish wrote: > >> My application has one operation that runs for a long time (~1 minute). >> During this time, the user is not allowed to do anything.  Nevertheless, I >> felt that it was important to give the user some feedback that the

Re: Status for long-running operation

2010-09-17 Thread Jeffrey Barish
Jeffrey Barish wrote: > My application has one operation that runs for a long time (~1 minute). > During this time, the user is not allowed to do anything. Nevertheless, I > felt that it was important to give the user some feedback that the > application is still alive and that the operation is r

Status for long-running operation

2010-09-17 Thread Jeffrey Barish
My application has one operation that runs for a long time (~1 minute). During this time, the user is not allowed to do anything. Nevertheless, I felt that it was important to give the user some feedback that the application is still alive and that the operation is running. My solution was t