(self)
return result
Return a list of all widgets which are children of this widget.
Return a list of all widgets which are children of this widget.
Return a list of all widgets which are children of this widget .
def winfo_children(self):
        """Return a list of all widgets which are children of this widget."""
        result = []
        for child in self.tk.splitlist(
            self.tk.call('winfo', 'children', self._w)):
            try:
                # Tcl sometimes returns extra windows, e.g. for
                # menus; those need to be skipped
                result.append(self._nametowidget(child))
            except KeyError:
                pass
        return result
def winfo_children ( self ) : result = [ ] for child in self . tk . splitlist ( self . tk . call ( 'winfo' , 'children' , self . _w ) ) : try : # Tcl sometimes returns extra windows, e.g. for # menus; those need to be skipped result . append ( self . _nametowidget ( child ) ) except KeyError : pass return result