Best control for a looping progress bar animation?

I’m trying to create a looping progress bar that animates while a task is running and stops when a task is done. It’s unknown how long the task will take.

The control would look exactly like the looping progress bar when you drag and drop your song collection into itunes http://imgur.com/d6c8moz

Are there any wx.Gauge-like controls that can achieve this effect? As far as I can tell wx.Gauge only allows you to have a bar start from the 0 position. I want a chunk of the total length of the progress bar (say 10% of it) to be shaded and scroll from left to right.

Hi,

···

On Monday, November 11, 2013 10:17:07 PM UTC-6, RedHotChiliPepper wrote:

I’m trying to create a looping progress bar that animates while a task is running and stops when a task is done. It’s unknown how long the task will take.

The control would look exactly like the looping progress bar when you drag and drop your song collection into itunes http://imgur.com/d6c8moz

Are there any wx.Gauge-like controls that can achieve this effect? As far as I can tell wx.Gauge only allows you to have a bar start from the 0 position. I want a chunk of the total length of the progress bar (say 10% of it) to be shaded and scroll from left to right.

Take a look at the wxPython demo. It shows a filling gauge and a scrolling gauge example. I also have an article on how to update a progress bar from a thread which might be helpful to you:

Mike