Hide the call-tip.
(self)
| 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.""" |
no test coverage detected