def OnKeyDown(self, event):
self.status.SetLabel('Loading...')
self.Refresh(1)
self.Update()
ret = os.system('...')
Now in the above, on Windows It says 'Loading' and
than the app I exec via system() comes up and takes
over the screen. As it should. On Linux I do not see
'Loading' until after the app is done executing. What
can I do to get the same behavior I get on Windows? I
am using wxPython 2.6.1.0
···
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
def OnKeyDown(self, event):
self.status.SetLabel('Loading...')
self.Refresh(1)
self.Update()
ret = os.system('...')
Now in the above, on Windows It says 'Loading' and
than the app I exec via system() comes up and takes
over the screen. As it should. On Linux I do not see
'Loading' until after the app is done executing. What
can I do to get the same behavior I get on Windows? I
am using wxPython 2.6.1.0
Try a wx.Yield() or a wx.SafeYield() instead of Refresh/Update.
Sáb, 2005-07-02 às 06:50 -0700, aa bb escreveu:
> Right now I have this:
>
> def OnKeyDown(self, event):
> self.status.SetLabel('Loading...')
> self.Refresh(1)
> self.Update()
> ret = os.system('...')
>
> Now in the above, on Windows It says 'Loading' and
> than the app I exec via system() comes up and
takes
> over the screen. As it should. On Linux I do not
see
> 'Loading' until after the app is done executing.
What
> can I do to get the same behavior I get on
Windows? I
> am using wxPython 2.6.1.0
Try a wx.Yield() or a wx.SafeYield() instead of
Refresh/Update.