Wait until a WIDGET is destroyed. If no parameter is given self is used.
(self, window=None)
| 736 | waitvar = wait_variable # XXX b/w compat |
| 737 | |
| 738 | def wait_window(self, window=None): |
| 739 | """Wait until a WIDGET is destroyed. |
| 740 | |
| 741 | If no parameter is given self is used.""" |
| 742 | if window is None: |
| 743 | window = self |
| 744 | self.tk.call('tkwait', 'window', window._w) |
| 745 | |
| 746 | def wait_visibility(self, window=None): |
| 747 | """Wait until the visibility of a WIDGET changes |