Throbbing headache (Throbber problems!)

Hi all,

I'm having lots of trouble getting a Throbber up and running. I'm not trying to do anything clever. I want a throbber to sit in a sizer in the top left of my panel.

I've got an animated GIF I want to use, but I'm not sure about how to get it into a format that the Throbber class wants. It doesn't seem to like just the filename - but I can get it to show a a still image when I pass it a Bitmap.

Can anyone point towards any examples of how to get this going?

Thanks a lot!

Tom

Hi Tom,

Try using a wx.animate.AnimationCtrl. It might be better for what you’re trying to do.
If you still want to use Throbber then extract the frames from the GIF and either feed them to the Throbber as a list of images or as a single composite image with all the frames one after the other.

Peter.

···

On 3/28/07, Tom Taylor tom@tomtaylor.co.uk wrote:

Hi all,

I’m having lots of trouble getting a Throbber up and running. I’m not
trying to do anything clever. I want a throbber to sit in a sizer in the
top left of my panel.

I’ve got an animated GIF I want to use, but I’m not sure about how to

get it into a format that the Throbber class wants. It doesn’t seem to
like just the filename - but I can get it to show a a still image when I
pass it a Bitmap.

Can anyone point towards any examples of how to get this going?

Thanks a lot!

Tom


To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org

For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org


There is NO FATE, we are the creators.

Hi Peter,

Peter Damoc wrote:

Try using a wx.animate.AnimationCtrl. It might be better for what you're trying to do.

Thanks, I might give it a go.

If you still want to use Throbber then extract the frames from the GIF and either feed them to the Throbber as a list of images or as a single composite image with all the frames one after the other.

How do you mean by single composite image? What's the difference between that and a GIF?

Thanks again!

Tom