Wait until a WIDGET is destroyed. If no parameter is given self is used.
(self, window=None)
| 754 | waitvar = wait_variable # XXX b/w compat |
| 755 | |
| 756 | def wait_window(self, window=None): |
| 757 | """Wait until a WIDGET is destroyed. |
| 758 | |
| 759 | If no parameter is given self is used.""" |
| 760 | if window is None: |
| 761 | window = self |
| 762 | self.tk.call('tkwait', 'window', window._w) |
| 763 | |
| 764 | def wait_visibility(self, window=None): |
| 765 | """Wait until the visibility of a WIDGET changes |