parameters: (self, item)
docstring: We are about to destroy the item children.
  
          :param `item`: an instance of :class:`GenericTreeItem`.
docstring_summary: We are about to destroy the item children.
docstring_tokens: We are about to destroy the item children .
function: def ChildrenClosing(self, item):
          """
          We are about to destroy the item children.
  
          :param `item`: an instance of :class:`GenericTreeItem`.
          """
  
          if self._editCtrl != None and item != self._editCtrl.item() and self.IsDescendantOf(item, self._editCtrl.item()):
              self._editCtrl.StopEditing()
          
          if item != self._key_current and self.IsDescendantOf(item, self._key_current):
              self._key_current = None
          
          if self.IsDescendantOf(item, self._select_me):
              self._select_me = item
          
          if item != self._current and self.IsDescendantOf(item, self._current):
              self._current.SetHilight(False)
              self._current = None
              self._select_me = item
function_tokens: def ChildrenClosing ( self , item ) : if self . _editCtrl != None and item != self . _editCtrl . item ( ) and self . IsDescendantOf ( item , self . _editCtrl . item ( ) ) : self . _editCtrl . StopEditing ( ) if item != self . _key_current and self . IsDescendantOf ( item , self . _key_current ) : self . _key_current = None if self . IsDescendantOf ( item , self . _select_me ) : self . _select_me = item if item != self . _current and self . IsDescendantOf ( item , self . _current ) : self . _current . SetHilight ( False ) self . _current = None self . _select_me = item