

def _do_node_load(self, node):
    gen = self.load_func(self, node)
    if node:
        node.is_loaded = True
    if (not gen):
        return
    for cnode in gen:
        self.add_node(cnode, node)

dataset/ETHPy150Open kivy/kivy/kivy/uix/treeview.py TreeView._do_node_load/original