parameters: (self, pageContainer, dc)
docstring: Draw the left navigation arrow.
docstring_summary: Draw the left navigation arrow.
docstring_tokens: Draw the left navigation arrow .
function: def DrawLeftArrow(self, pageContainer, dc):
          """ Draw the left navigation arrow. """
  
          pc = pageContainer
          
          style = pc.GetParent().GetWindowStyleFlag()
          if style & FNB_NO_NAV_BUTTONS:
              return
  
          # Make sure that there are pages in the container
          if not pc._pagesInfoVec:
              return
  
          # Set the bitmap according to the button status
          if pc._nLeftButtonStatus == FNB_BTN_HOVER:
              arrowBmp = wx.BitmapFromXPMData(left_arrow_hilite_xpm)
          elif pc._nLeftButtonStatus == FNB_BTN_PRESSED:
              arrowBmp = wx.BitmapFromXPMData(left_arrow_pressed_xpm)
          else:
              arrowBmp = wx.BitmapFromXPMData(left_arrow_xpm)
  
          if pc._nFrom == 0:
              # Handle disabled arrow
              arrowBmp = wx.BitmapFromXPMData(left_arrow_disabled_xpm)
          
          arrowBmp.SetMask(wx.Mask(arrowBmp, MASK_COLOR))
  
          # Erase old bitmap
          posx = self.GetLeftButtonPos(pc)
          self.DrawArrowAccordingToState(dc, pc, wx.Rect(posx, 6, 16, 14))
  
          # Draw the new bitmap
          dc.DrawBitmap(arrowBmp, posx + 2, 6, True)
function_tokens: def DrawLeftArrow ( self , pageContainer , dc ) : pc = pageContainer style = pc . GetParent ( ) . GetWindowStyleFlag ( ) if style & FNB_NO_NAV_BUTTONS : return # Make sure that there are pages in the container if not pc . _pagesInfoVec : return # Set the bitmap according to the button status if pc . _nLeftButtonStatus == FNB_BTN_HOVER : arrowBmp = wx . BitmapFromXPMData ( left_arrow_hilite_xpm ) elif pc . _nLeftButtonStatus == FNB_BTN_PRESSED : arrowBmp = wx . BitmapFromXPMData ( left_arrow_pressed_xpm ) else : arrowBmp = wx . BitmapFromXPMData ( left_arrow_xpm ) if pc . _nFrom == 0 : # Handle disabled arrow arrowBmp = wx . BitmapFromXPMData ( left_arrow_disabled_xpm ) arrowBmp . SetMask ( wx . Mask ( arrowBmp , MASK_COLOR ) ) # Erase old bitmap posx = self . GetLeftButtonPos ( pc ) self . DrawArrowAccordingToState ( dc , pc , wx . Rect ( posx , 6 , 16 , 14 ) ) # Draw the new bitmap dc . DrawBitmap ( arrowBmp , posx + 2 , 6 , True )