parameters: (self, button_id, label, bitmap, bitmap_small=wx.NullBitmap, bitmap_disabled=wx.NullBitmap,
                    bitmap_small_disabled=wx.NullBitmap, kind=RIBBON_BUTTON_NORMAL, help_string="", client_data=None)
return_statement: return self.InsertButton(self.GetButtonCount(), button_id, label, bitmap,
                                   bitmap_small, bitmap_disabled, bitmap_small_disabled, kind, help_string,
                                   client_data)
docstring: Add a button to the button bar.
  
          :param integer `button_id`: id of the new button (used for event callbacks);
          :param string `label`: label of the new button;
          :param `bitmap`: large bitmap of the new button, an instance of :class:`Bitmap`. Must be the same size as
           all other large bitmaps used on the button bar;
          :param `bitmap_small`: small bitmap of the new button, an instance of :class:`Bitmap`. If left as :class:`NullBitmap`,
           then a small bitmap will be automatically generated. Must be the same size
           as all other small bitmaps used on the button bar;
          :param `bitmap_disabled`: large bitmap of the new button when it is disabled, an instance of :class:`Bitmap`.
           If left as :class:`NullBitmap`, then a bitmap will be automatically generated from `bitmap`;
          :param `bitmap_small_disabled`: small bitmap of the new button when it is disabled, an instance of :class:`Bitmap`.
           If left as :class:`NullBitmap`, then a bitmap will be automatically generated from `bitmap_small`;
          :param integer `kind`: the kind of button to add, one of the following values:
  
           ========================================== =========== ==========================================
           Button Kind                                Hex Value   Description
           ========================================== =========== ==========================================
           ``RIBBON_BUTTON_NORMAL``                           0x1 Normal button or tool with a clickable area which causes some generic action.
           ``RIBBON_BUTTON_DROPDOWN``                         0x2 Dropdown button or tool with a clickable area which typically causes a dropdown menu.
           ``RIBBON_BUTTON_HYBRID``                           0x3 Button or tool with two clickable areas - one which causes a dropdown menu, and one which causes a generic action.
           ``RIBBON_BUTTON_TOGGLE``                           0x4 Normal button or tool with a clickable area which toggles the button between a pressed and unpressed state.
           ========================================== =========== ==========================================
          
          :param string `help_string`: the UI help string to associate with the new button;
          :param object `client_data`: client data to associate with the new button (any Python object).
  
          :returns: An opaque pointer which can be used only with other button bar methods.
          
          :see: :meth:`~RibbonButtonBar.InsertButton`, :meth:`~RibbonButtonBar.AddDropdownButton`, :meth:`~RibbonButtonBar.AddHybridButton`
docstring_summary: Add a button to the button bar.
docstring_tokens: Add a button to the button bar .
function: def AddButton(self, button_id, label, bitmap, bitmap_small=wx.NullBitmap, bitmap_disabled=wx.NullBitmap,
                    bitmap_small_disabled=wx.NullBitmap, kind=RIBBON_BUTTON_NORMAL, help_string="", client_data=None):
          """
          Add a button to the button bar.
  
          :param integer `button_id`: id of the new button (used for event callbacks);
          :param string `label`: label of the new button;
          :param `bitmap`: large bitmap of the new button, an instance of :class:`Bitmap`. Must be the same size as
           all other large bitmaps used on the button bar;
          :param `bitmap_small`: small bitmap of the new button, an instance of :class:`Bitmap`. If left as :class:`NullBitmap`,
           then a small bitmap will be automatically generated. Must be the same size
           as all other small bitmaps used on the button bar;
          :param `bitmap_disabled`: large bitmap of the new button when it is disabled, an instance of :class:`Bitmap`.
           If left as :class:`NullBitmap`, then a bitmap will be automatically generated from `bitmap`;
          :param `bitmap_small_disabled`: small bitmap of the new button when it is disabled, an instance of :class:`Bitmap`.
           If left as :class:`NullBitmap`, then a bitmap will be automatically generated from `bitmap_small`;
          :param integer `kind`: the kind of button to add, one of the following values:
  
           ========================================== =========== ==========================================
           Button Kind                                Hex Value   Description
           ========================================== =========== ==========================================
           ``RIBBON_BUTTON_NORMAL``                           0x1 Normal button or tool with a clickable area which causes some generic action.
           ``RIBBON_BUTTON_DROPDOWN``                         0x2 Dropdown button or tool with a clickable area which typically causes a dropdown menu.
           ``RIBBON_BUTTON_HYBRID``                           0x3 Button or tool with two clickable areas - one which causes a dropdown menu, and one which causes a generic action.
           ``RIBBON_BUTTON_TOGGLE``                           0x4 Normal button or tool with a clickable area which toggles the button between a pressed and unpressed state.
           ========================================== =========== ==========================================
          
          :param string `help_string`: the UI help string to associate with the new button;
          :param object `client_data`: client data to associate with the new button (any Python object).
  
          :returns: An opaque pointer which can be used only with other button bar methods.
          
          :see: :meth:`~RibbonButtonBar.InsertButton`, :meth:`~RibbonButtonBar.AddDropdownButton`, :meth:`~RibbonButtonBar.AddHybridButton`
          """
  
          return self.InsertButton(self.GetButtonCount(), button_id, label, bitmap,
                                   bitmap_small, bitmap_disabled, bitmap_small_disabled, kind, help_string,
                                   client_data)
function_tokens: def AddButton ( self , button_id , label , bitmap , bitmap_small = wx . NullBitmap , bitmap_disabled = wx . NullBitmap , bitmap_small_disabled = wx . NullBitmap , kind = RIBBON_BUTTON_NORMAL , help_string = "" , client_data = None ) : return self . InsertButton ( self . GetButtonCount ( ) , button_id , label , bitmap , bitmap_small , bitmap_disabled , bitmap_small_disabled , kind , help_string , client_data )