parameters: (self, parentId, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None)
return_statement: return self.DoInsertItem(parent, len(parent.GetChildren()), text, ct_type, wnd, image, selImage, data)
docstring: Appends an item as a last child of its parent.
  
          :param `parentId`: an instance of :class:`GenericTreeItem` representing the
           item's parent;
          :param string `text`: the item text label;
          :param integer `ct_type`: the item type (see :meth:`~CustomTreeCtrl.SetItemType` for a list of valid
           item types);
          :param `wnd`: if not ``None``, a non-toplevel window to show next to the item,
           any subclass of :class:`Window`;
          :param integer `image`: an index within the normal image list specifying the image to
           use for the item in unselected state;
          :param integer `selImage`: an index within the normal image list specifying the image to
           use for the item in selected state; if `image` > -1 and `selImage` is -1, the
           same image is used for both selected and unselected items;
          :param object `data`: associate the given Python object `data` with the item.
  
          :return: An instance of :class:`GenericTreeItem` upon successful insertion.
  
          :see: :meth:`~CustomTreeCtrl.DoInsertItem` for possible exceptions generated by this method.
docstring_summary: Appends an item as a last child of its parent.
docstring_tokens: Appends an item as a last child of its parent .
function: def AppendItem(self, parentId, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None):
          """
          Appends an item as a last child of its parent.
  
          :param `parentId`: an instance of :class:`GenericTreeItem` representing the
           item's parent;
          :param string `text`: the item text label;
          :param integer `ct_type`: the item type (see :meth:`~CustomTreeCtrl.SetItemType` for a list of valid
           item types);
          :param `wnd`: if not ``None``, a non-toplevel window to show next to the item,
           any subclass of :class:`Window`;
          :param integer `image`: an index within the normal image list specifying the image to
           use for the item in unselected state;
          :param integer `selImage`: an index within the normal image list specifying the image to
           use for the item in selected state; if `image` > -1 and `selImage` is -1, the
           same image is used for both selected and unselected items;
          :param object `data`: associate the given Python object `data` with the item.
  
          :return: An instance of :class:`GenericTreeItem` upon successful insertion.
  
          :see: :meth:`~CustomTreeCtrl.DoInsertItem` for possible exceptions generated by this method.
          """
          
          parent = parentId
          
          if not parent:
              # should we give a warning here?
              return self.AddRoot(text, ct_type, wnd, image, selImage, data)
          
          return self.DoInsertItem(parent, len(parent.GetChildren()), text, ct_type, wnd, image, selImage, data)
function_tokens: def AppendItem ( self , parentId , text , ct_type = 0 , wnd = None , image = - 1 , selImage = - 1 , data = None ) : parent = parentId if not parent : # should we give a warning here? return self . AddRoot ( text , ct_type , wnd , image , selImage , data ) return self . DoInsertItem ( parent , len ( parent . GetChildren ( ) ) , text , ct_type , wnd , image , selImage , data )