MCPcopy Index your code
hub / github.com/python/cpython / hidetip

Method hidetip

Lib/idlelib/tooltip.py:70–79  ·  view source on GitHub ↗

hide the tooltip

(self)

Source from the content-addressed store, hash-verified

68 raise NotImplementedError
69
70 def hidetip(self):
71 """hide the tooltip"""
72 # Note: This is called by __del__, so careful when overriding/extending
73 tw = self.tipwindow
74 self.tipwindow = None
75 if tw:
76 try:
77 tw.destroy()
78 except TclError: # pragma: no cover
79 pass
80
81
82class OnHoverTooltipBase(TooltipBase):

Callers 4

__del__Method · 0.95
remove_calltip_windowMethod · 0.45
hidetipMethod · 0.45
test_hidetipMethod · 0.45

Calls 1

destroyMethod · 0.45

Tested by 1

test_hidetipMethod · 0.36