( self )
Displays the ToolTip if the time delay has been long enough
Displays the ToolTip if the time delay has been long enough
Displays the ToolTip if the time delay has been long enough
def show( self ):
		"""
		Displays the ToolTip if the time delay has been long enough
		"""
		if ToolTip.ShowToolTips is False: return
		text = self.msgVar.get()
		if ToolTip.ShowTipNumber is True and self.TipID is not None:
			# check if text is not there, if so add it
			if self.TipNumText not in text:
				self.msgVar.set(self.TipNumText+text)
		else:
			text.replace(self.TipNumText,"")
			self.msgVar.set(text)

		if self.visible == 1 and time() - self.lastMotion > ToolTip.ShowTipDelay:
			self.visible = 2
		if self.visible == 2:
			self.deiconify()
def show ( self ) : if ToolTip . ShowToolTips is False : return text = self . msgVar . get ( ) if ToolTip . ShowTipNumber is True and self . TipID is not None : # check if text is not there, if so add it if self . TipNumText not in text : self . msgVar . set ( self . TipNumText + text ) else : text . replace ( self . TipNumText , "" ) self . msgVar . set ( text ) if self . visible == 1 and time ( ) - self . lastMotion > ToolTip . ShowTipDelay : self . visible = 2 if self . visible == 2 : self . deiconify ( )