def startMonitoring(self): # Force the window to be redrawn, as our display model might be out of date. # Do not catch exceptions caused by redraw, as when redrawing fails, # it is most likely that the window died, and we don't want to monitor in that case. self.redraw() displayModel.requestTextChangeNotifications(self, True) super(DisplayModelLiveText, self).startMonitoring()
def stopMonitoring(self): super(DisplayModelLiveText, self).stopMonitoring() displayModel.requestTextChangeNotifications(self, False)
def startMonitoring(self): # Force the window to be redrawn, as our display model might be out of date. self.redraw() displayModel.requestTextChangeNotifications(self, True) super(DisplayModelLiveText, self).startMonitoring()
def stopMonitoring(self): displayModel.requestTextChangeNotifications(self, False)
def startMonitoring(self): displayModel.requestTextChangeNotifications(self, True)
def startMonitoring(self): self.oldMessageCount = None self.update(initial=True) displayModel.requestTextChangeNotifications(self, True)
def initOverlayClass(self) : displayModel.requestTextChangeNotifications(self, True)