parameters: (self, event)
docstring: Handles the ``wx.EVT_LEFT_DOWN`` event for :class:`ImageContainerBase`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_LEFT_DOWN`` event for :class:`ImageContainerBase`.
docstring_tokens: Handles the wx . EVT_LEFT_DOWN event for : class : ImageContainerBase .
function: def OnMouseLeftDown(self, event):
          """
          Handles the ``wx.EVT_LEFT_DOWN`` event for :class:`ImageContainerBase`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
          """
  
          newSelection = -1
          event.Skip()
  
          # Support for collapse/expand
          style = self.GetParent().GetAGWWindowStyleFlag()
          if style & INB_USE_PIN_BUTTON:
  
              if self._pinBtnRect.Contains(event.GetPosition()):
              
                  self._nPinButtonStatus = INB_PIN_PRESSED
                  dc = wx.ClientDC(self)
                  self.DrawPin(dc, self._pinBtnRect, not self._bCollapsed)
                  return
              
          # Incase panel is collapsed, there is nothing 
          # to check 
          if self._bCollapsed:
              return
  
          tabIdx, where = self.HitTest(event.GetPosition())
  
          if where == IMG_OVER_IMG:
              self._nHoveredImgIdx = -1        
  
          if tabIdx == -1:
              return
          
          self.GetParent().SetSelection(tabIdx)
function_tokens: def OnMouseLeftDown ( self , event ) : newSelection = - 1 event . Skip ( ) # Support for collapse/expand style = self . GetParent ( ) . GetAGWWindowStyleFlag ( ) if style & INB_USE_PIN_BUTTON : if self . _pinBtnRect . Contains ( event . GetPosition ( ) ) : self . _nPinButtonStatus = INB_PIN_PRESSED dc = wx . ClientDC ( self ) self . DrawPin ( dc , self . _pinBtnRect , not self . _bCollapsed ) return # Incase panel is collapsed, there is nothing  # to check  if self . _bCollapsed : return tabIdx , where = self . HitTest ( event . GetPosition ( ) ) if where == IMG_OVER_IMG : self . _nHoveredImgIdx = - 1 if tabIdx == - 1 : return self . GetParent ( ) . SetSelection ( tabIdx )