S
Steve Lamb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, this one I did try before coming here...
I am trying to report the status of what is going on to the status
bar of the main window of my wxPython app. I know I'm on the right
track with SetStatusText() but it doesn't always alter the text. What
the program is doing is taking a filename and passing it through two
different external programs. One of them is taking a little bit of time
to process the file (sa-learn) so the user needs to know what is going
on. Right now I have the call to update the status bar preceding the
external call like so:
self.MainStatus.SetStatusText('Reporting message as spam.',0)
code = os.system("%s '%s'" % (vars.razor_spam, filepath))
The status bar is not being updated. I know it works because other
calls I have to the same method work fine. Is there some call I need to
make to refresh the window or at least the status bar?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/Nxw5el/srYtumcURAkUaAKCsZep0u8rjIalqXYJ4+8BbeqmdVgCfRbYx
3vIlOU4xsEXlLQI5+3Q74Dc=
=4EQS
-----END PGP SIGNATURE-----
Hash: SHA1
Ok, this one I did try before coming here...
I am trying to report the status of what is going on to the status
bar of the main window of my wxPython app. I know I'm on the right
track with SetStatusText() but it doesn't always alter the text. What
the program is doing is taking a filename and passing it through two
different external programs. One of them is taking a little bit of time
to process the file (sa-learn) so the user needs to know what is going
on. Right now I have the call to update the status bar preceding the
external call like so:
self.MainStatus.SetStatusText('Reporting message as spam.',0)
code = os.system("%s '%s'" % (vars.razor_spam, filepath))
The status bar is not being updated. I know it works because other
calls I have to the same method work fine. Is there some call I need to
make to refresh the window or at least the status bar?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/Nxw5el/srYtumcURAkUaAKCsZep0u8rjIalqXYJ4+8BbeqmdVgCfRbYx
3vIlOU4xsEXlLQI5+3Q74Dc=
=4EQS
-----END PGP SIGNATURE-----