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

Method winfo_toplevel

Lib/tkinter/__init__.py:1401–1404  ·  view source on GitHub ↗

Return the toplevel widget of this widget.

(self)

Source from the content-addressed store, hash-verified

1399 return self.tk.call('winfo', 'server', self._w)
1400
1401 def winfo_toplevel(self):
1402 """Return the toplevel widget of this widget."""
1403 return self._nametowidget(self.tk.call(
1404 'winfo', 'toplevel', self._w))
1405
1406 def winfo_viewable(self):
1407 """Return true if the widget and all its higher ancestors are mapped."""

Callers 5

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
openMethod · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected