parameters: (self, dc, state)
docstring: Draws 'more' button to the right side of the menu bar.
  
          :param `dc`: an instance of :class:`DC`;
          :param integer `state`: the 'more' button state.
  
          :see: :meth:`MenuEntryInfo.SetState() <flatmenu.MenuEntryInfo.SetState>` for a list of valid menu states.
docstring_summary: Draws 'more' button to the right side of the menu bar.
docstring_tokens: Draws more button to the right side of the menu bar .
function: def DrawMoreButton(self, dc, state):
          """
          Draws 'more' button to the right side of the menu bar.
  
          :param `dc`: an instance of :class:`DC`;
          :param integer `state`: the 'more' button state.
  
          :see: :meth:`MenuEntryInfo.SetState() <flatmenu.MenuEntryInfo.SetState>` for a list of valid menu states.
          """
  
          if (not self._showCustomize) and self.GetInvisibleMenuItemCount() < 1 and  self.GetInvisibleToolbarItemCount() < 1:
              return
          
          # Draw a drop down menu at the right position of the menu bar
          # we use xpm file with 16x16 size, another 4 pixels we take as spacer
          # from the right side of the frame, this will create a DROP_DOWN_ARROW_WIDTH  pixels width
          # of unwanted zone on the right side
  
          rect = self.GetMoreMenuButtonRect()
  
          # Draw the bitmap
          if state != ControlNormal:
              # Draw background according to state
              self.GetRenderer().DrawButton(dc, rect, state)
          else:
              # Delete current image
              if self._moreMenuBgBmp.Ok():
                  dc.DrawBitmap(self._moreMenuBgBmp, rect.x, rect.y, True)
  
          dropArrowBmp = self.GetRenderer()._bitmaps["arrow_down"]
  
          # Calc the image coordinates
          xx = rect.x + (DROP_DOWN_ARROW_WIDTH - dropArrowBmp.GetWidth())/2
          yy = rect.y + (rect.height - dropArrowBmp.GetHeight())/2
          
          dc.DrawBitmap(dropArrowBmp, xx, yy + self._spacer, True)        
          self._dropDownButtonState = state
function_tokens: def DrawMoreButton ( self , dc , state ) : if ( not self . _showCustomize ) and self . GetInvisibleMenuItemCount ( ) < 1 and self . GetInvisibleToolbarItemCount ( ) < 1 : return # Draw a drop down menu at the right position of the menu bar # we use xpm file with 16x16 size, another 4 pixels we take as spacer # from the right side of the frame, this will create a DROP_DOWN_ARROW_WIDTH  pixels width # of unwanted zone on the right side rect = self . GetMoreMenuButtonRect ( ) # Draw the bitmap if state != ControlNormal : # Draw background according to state self . GetRenderer ( ) . DrawButton ( dc , rect , state ) else : # Delete current image if self . _moreMenuBgBmp . Ok ( ) : dc . DrawBitmap ( self . _moreMenuBgBmp , rect . x , rect . y , True ) dropArrowBmp = self . GetRenderer ( ) . _bitmaps [ "arrow_down" ] # Calc the image coordinates xx = rect . x + ( DROP_DOWN_ARROW_WIDTH - dropArrowBmp . GetWidth ( ) ) / 2 yy = rect . y + ( rect . height - dropArrowBmp . GetHeight ( ) ) / 2 dc . DrawBitmap ( dropArrowBmp , xx , yy + self . _spacer , True ) self . _dropDownButtonState = state