def invokeLater(self, func, args=[], kwargs={}): if not self.flag.isSet(): wx.wxPostEvent(self.frame, InvokeEvent(func, args, kwargs))
def postEvent(win,**keywords): """Post an event from within a thread to the dialog win.""" wx.wxPostEvent(win,Event(**keywords))
def postEvent(win, **keywords): """Post an event from within a thread to the dialog win.""" wx.wxPostEvent(win, Event(**keywords))