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

Method wait_window

Lib/tkinter/__init__.py:756–762  ·  view source on GitHub ↗

Wait until a WIDGET is destroyed. If no parameter is given self is used.

(self, window=None)

Source from the content-addressed store, hash-verified

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

Callers 6

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected