code: def _check_descendant(self, item):
          
          children = self.get_children(item)
          for iid in children:
              self.change_state(iid, "checked")
              self._check_descendant(iid)
docs: Check the boxes of item's descendants.