[wxpython-users] Add a progressbar in a statusbar

Andrea Gavana andrea.gavana at gmail.com
Thu May 29 06:26:36 PDT 2008


Hi Leticia,

On Thu, May 29, 2008 at 12:38 PM, leticia Fernandez wrote:
> Hello,
>
> I want to add a progressbar into a statusbar, but it seems i cant find how
> to do it.
> Ive got the statusbar and the progressbar done, but i cant see how to link
> them.
> I know when you want to show text, you can do it by SetStatusText ( field,
> pos )
> but I havent seen it for another cases.
> Im sure it must be something very obvious, but i cant see it, so.. any idea?
> Pleasee some help :)

If you are using Windows, you might want to take a look at my
implementation of EnhancedStatusBar here:

http://xoomer.alice.it/infinity77/main/freeware.html#enhancedstatusbar

The code is not Windows-dependent, and in theory it should work on all
platforms, but as far as I remember wxGTK does not allow to use
SetMinHeight on the statusbar (I mean, this method does nothing on
wxGTK). I have no idea on Mac. You can take a look at the code and see
if it suits your needs.

HTH.

Andrea.

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


More information about the wxpython-users mailing list