parameters: (self, tool_id)
return_statement: return False
docstring: Removes the specified tool from the toolbar and deletes it.
  
          :param integer `tool_id`: the :class:`AuiToolBarItem` identifier.
  
          :returns: ``True`` if the tool was deleted, ``False`` otherwise.
          
          :note: Note that it is unnecessary to call :meth:`Realize` for the change to
           take place, it will happen immediately.
docstring_summary: Removes the specified tool from the toolbar and deletes it.
docstring_tokens: Removes the specified tool from the toolbar and deletes it .
function: def DeleteTool(self, tool_id):
          """
          Removes the specified tool from the toolbar and deletes it.
  
          :param integer `tool_id`: the :class:`AuiToolBarItem` identifier.
  
          :returns: ``True`` if the tool was deleted, ``False`` otherwise.
          
          :note: Note that it is unnecessary to call :meth:`Realize` for the change to
           take place, it will happen immediately.
          """
  
          idx = self.GetToolIndex(tool_id)
          
          if idx >= 0 and idx < len(self._items):
              self._items.pop(idx)
              self.Realize()
              return True
          
          return False
function_tokens: def DeleteTool ( self , tool_id ) : idx = self . GetToolIndex ( tool_id ) if idx >= 0 and idx < len ( self . _items ) : self . _items . pop ( idx ) self . Realize ( ) return True return False