How to give user feedback that grid is being updated ?

Hi,

In my wxPython application I have several grids that take noticeable time (1-5 seconds) to show (due to database creations and searching).

The user needs to get feedback that the application is not stuck but is just creating/updating the screen’s display (i.e., the grid).

There are several ways I could think of giving this “reassuring” feedback to the user (e.g., a percentage going back from 100 to 0, going up from 0 until finished, counting seconds, etc.).

Could you give me your preferred way of giving feedback to the user - that your wxPython application is currently processing, and is not stuck ?

Are there ready-made widgets that could be used to give such feedback ?

Thanks,

Ron.

Ron,

Hi,
In my wxPython application I have several grids that take noticeable time (1-5 seconds) to show (due to database creations and searching).
The user needs to get feedback that the application is not stuck but is just creating/updating the screen's display (i.e., the grid).
There are several ways I could think of giving this "reassuring" feedback to the user (e.g., a percentage going back from 100 to 0, going up from 0 until finished, counting seconds, etc.).
Could you give me /your/ preferred way of giving feedback to the user - that your wxPython application is currently processing, and is not stuck ?
Are there ready-made widgets that could be used to give such feedback ?
Thanks,
Ron.

I use the BusyDialog, but you could just change your mouse cursor too.

···

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org

Mike Driscoll wrote:

Ron,

Hi,
In my wxPython application I have several grids that take noticeable time (1-5 seconds) to show (due to database creations and searching).
The user needs to get feedback that the application is not stuck but is just creating/updating the screen's display (i.e., the grid).
There are several ways I could think of giving this "reassuring" feedback to the user (e.g., a percentage going back from 100 to 0, going up from 0 until finished, counting seconds, etc.).
Could you give me /your/ preferred way of giving feedback to the user - that your wxPython application is currently processing, and is not stuck ?
Are there ready-made widgets that could be used to give such feedback ?
Thanks,
Ron.

I use the BusyDialog, but you could just change your mouse cursor too.

Several choices: wx.BusyCursor, wx.BusyInfo, wx.ProgressDialog, Throbber, put a gauge in the statusbar, play the dancing baby video...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi Mike,
I've implemented your suggestion of changing the Icon to hour-glass.
I tried Googling for BusyDialog to see its capabilities, but Google failed me: could you send BusyDialog's URL ?
Thanks,
Ron.

···

-----Original Message-----
From: Mike Driscoll [mailto:mike@pythonlibrary.org]
Sent: Wednesday, October 15, 2008 16:39
To: wxpython-users@lists.wxwidgets.org
Subject: Re: [wxpython-users] How to give user feedback that grid is being updated ?

Ron,

Hi,

In my wxPython application I have several grids that take noticeable
time (1-5 seconds) to show (due to database creations and searching).
The user needs to get feedback that the application is not stuck but
is just creating/updating the screen's display (i.e., the grid).

There are several ways I could think of giving this "reassuring"
feedback to the user (e.g., a percentage going back from 100 to 0,
going up from 0 until finished, counting seconds, etc.).

Could you give me /your/ preferred way of giving feedback to the user
- that your wxPython application is currently processing, and is not
stuck ?

Are there ready-made widgets that could be used to give such feedback ?

Thanks,
Ron.

I use the BusyDialog, but you could just change your mouse cursor too.

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org

Hi Ron,

···

On Thu, Oct 16, 2008 at 8:38 AM, Barak, Ron wrote:

Hi Mike,
I've implemented your suggestion of changing the Icon to hour-glass.
I tried Googling for BusyDialog to see its capabilities, but Google failed me: could you send BusyDialog's URL ?

I think Mike meant wx.BusyInfo.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Andrea Gavana wrote:

Hi Ron,

Hi Mike,
I've implemented your suggestion of changing the Icon to hour-glass.
I tried Googling for BusyDialog to see its capabilities, but Google failed me: could you send BusyDialog's URL ?
    
I think Mike meant wx.BusyInfo.

Andrea.

Oops...you are correct, Andrea. Thanks for the catch. Here's the docs link, although it don't really tell you anything:

http://www.wxpython.org/docs/api/wx.BusyInfo-class.html

All you need to do is this though:

<code>

msg = "wxPython rules!"

# show the message
self.busyDlg = wx.BusyInfo(msg)

# close the message
self.busyDlg = None

</code>

···

On Thu, Oct 16, 2008 at 8:38 AM, Barak, Ron wrote: