code: def get_child_of(self, component, ind, kind=None):
          
          children = self.get_children_of(component, kind=kind)
          if children is None:
              return None
          else:
              return children[ind]
docs: get a child (by index) of a given component