def __init__(self):
wx.Frame.__init__(self, None, title="Focus Finder")
panel = wx.Panel(self, wx.ID_ANY)
panel.Bind(wx.EVT_SET_FOCUS, self.onFocus)
txt = wx.StaticText(
panel, label="This label cannot receive focus")
self.timer = wx.Timer(self)
self.Bind(wx.EVT_TIMER, self.onTimer)
self.timer.Start(1000)
评论列表
文章目录