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 that

Re: Status for long-running operation

2010-09-21 Thread Paul Davis
On Mon, Sep 20, 2010 at 2:37 AM, richard boaz ivor.b...@gmail.com wrote: On Sun, Sep 19, 2010 at 8:33 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Sat, Sep 18, 2010 at 3:24 AM, richard boaz ivor.b...@gmail.com wrote: yep, i concur with the set sensitive method. all good, except that

Re: Status for long-running operation

2010-09-20 Thread richard boaz
On Sun, Sep 19, 2010 at 8:33 PM, Paul Davis p...@linuxaudiosystems.comwrote: On Sat, Sep 18, 2010 at 3:24 AM, richard boaz ivor.b...@gmail.com 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

Re: Status for long-running operation

2010-09-19 Thread Paul Davis
On Sat, Sep 18, 2010 at 3:24 AM, richard boaz ivor.b...@gmail.com 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

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

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 ivor.b...@gmail.com 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

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

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

Re: Status for long-running operation

2010-09-17 Thread Lex Trotman
On 18 September 2010 08:22, Jeffrey Barish jeff_bar...@earthlink.net 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

Re: Status for long-running operation

2010-09-17 Thread Jeffrey Barish
Lex Trotman wrote: On 18 September 2010 08:22, Jeffrey Barish jeff_bar...@earthlink.net 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

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() ).