Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
	def stopMonitoring(self):
		super(DisplayModelLiveText, self).stopMonitoring()
		displayModel.requestTextChangeNotifications(self, False)
Exemplo n.º 3
0
	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()
Exemplo n.º 4
0
	def stopMonitoring(self):
		super(DisplayModelLiveText, self).stopMonitoring()
		displayModel.requestTextChangeNotifications(self, False)
Exemplo n.º 5
0
	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()
Exemplo n.º 6
0
	def stopMonitoring(self):
		displayModel.requestTextChangeNotifications(self, False)
Exemplo n.º 7
0
	def startMonitoring(self):
		displayModel.requestTextChangeNotifications(self, True)
Exemplo n.º 8
0
	def startMonitoring(self):
		self.oldMessageCount = None
		self.update(initial=True)
		displayModel.requestTextChangeNotifications(self, True)
Exemplo n.º 9
0
	def initOverlayClass(self) :
		displayModel.requestTextChangeNotifications(self, True)