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

Method hidetip

Lib/idlelib/calltip_w.py:123–146  ·  view source on GitHub ↗

Hide the call-tip.

(self)

Source from the content-addressed store, hash-verified

121 return "break"
122
123 def hidetip(self):
124 """Hide the call-tip."""
125 if not self.tipwindow:
126 return
127
128 try:
129 self.label.destroy()
130 except TclError:
131 pass
132 self.label = None
133
134 self.parenline = self.parencol = self.lastline = None
135 try:
136 self.anchor_widget.mark_unset(MARK_RIGHT)
137 except TclError:
138 pass
139
140 try:
141 self._unbind_events()
142 except (TclError, ValueError):
143 # ValueError may be raised by MultiCall
144 pass
145
146 super().hidetip()
147
148 def _bind_events(self):
149 """Bind event handlers."""

Callers 3

checkhide_eventMethod · 0.95
hide_eventMethod · 0.95
calltip_hideFunction · 0.45

Calls 4

_unbind_eventsMethod · 0.95
superClass · 0.85
destroyMethod · 0.45
mark_unsetMethod · 0.45

Tested by

no test coverage detected