M
Mr BigSmoke
I'm writting an applicatio that that does something like this:
class batchSpy(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__( self, None, -1, "Batch Spy", pos = (0,0),
size = mySize)
.... do layout ...
self.searchAlarms()
def searchAlarms(self):
for alm in self.alarms: # self.alarms is a list of
strings
self.almBox.WriteText(alm) #Alm box is a
wx.TextCtrl widget...
self.Refresh()
I Know that writing like this my wxFrame just freeze. I've tried usind
wxTimer event but it doesn't help... Any hint?
TNX
class batchSpy(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__( self, None, -1, "Batch Spy", pos = (0,0),
size = mySize)
.... do layout ...
self.searchAlarms()
def searchAlarms(self):
for alm in self.alarms: # self.alarms is a list of
strings
self.almBox.WriteText(alm) #Alm box is a
wx.TextCtrl widget...
self.Refresh()
I Know that writing like this my wxFrame just freeze. I've tried usind
wxTimer event but it doesn't help... Any hint?
TNX