parameters: (self, menuItem, setCurrent=False)
return_statement: return id
docstring: Appends an item to the menu.
  		
  		   @param menuItem The MenuItem to add.
  		   @param setCurrent Sets the item to be the current selected.
  		   @return Item identifier.
docstring_summary: Appends an item to the menu.
docstring_tokens: Appends an item to the menu .
function: def appendItem(self, menuItem, setCurrent=False):
  		"""Appends an item to the menu.
  		
  		   @param menuItem The MenuItem to add.
  		   @param setCurrent Sets the item to be the current selected.
  		   @return Item identifier.
  		"""
  		# get free id
  		id = self._getId(menuItem, setCurrent)
  		# append id
  		self.displayList.append(id)
  		# create menu string
  		self.menuString = self.menuString + menuItem.getValue() + " %x" + str(id) + "|"
  		return id
function_tokens: def appendItem ( self , menuItem , setCurrent = False ) : # get free id id = self . _getId ( menuItem , setCurrent ) # append id self . displayList . append ( id ) # create menu string self . menuString = self . menuString + menuItem . getValue ( ) + " %x" + str ( id ) + "|" return id