MCPcopy Index your code
hub / github.com/RustPython/RustPython / winfo_children

Method winfo_children

Lib/tkinter/__init__.py:1197–1208  ·  view source on GitHub ↗

Return a list of all widgets which are children of this widget.

(self)

Source from the content-addressed store, hash-verified

1195 self.tk.call('winfo', 'cells', self._w))
1196
1197 def winfo_children(self):
1198 """Return a list of all widgets which are children of this widget."""
1199 result = []
1200 for child in self.tk.splitlist(
1201 self.tk.call('winfo', 'children', self._w)):
1202 try:
1203 # Tcl sometimes returns extra windows, e.g. for
1204 # menus; those need to be skipped
1205 result.append(self._nametowidget(child))
1206 except KeyError:
1207 pass
1208 return result
1209
1210 def winfo_class(self):
1211 """Return window class name of this widget."""

Callers

nothing calls this directly

Calls 2

callMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected