parameters: (self, bitmap_id, button_state, bmp)
docstring: Sets a custom bitmap for the close, left, right and window list buttons.
          
          :param integer `bitmap_id`: the button identifier;
          :param integer `button_state`: the button state;
          :param Bitmap `bmp`: the custom bitmap to use for the button.
docstring_summary: Sets a custom bitmap for the close, left, right and window list buttons.
          
          :param integer `bitmap_id`: the button identifier;
          :param integer `button_state`: the button state;
          :param Bitmap `bmp`: the custom bitmap to use for the button.
docstring_tokens: Sets a custom bitmap for the close left right and window list buttons . : param integer bitmap_id : the button identifier ; : param integer button_state : the button state ; : param Bitmap bmp : the custom bitmap to use for the button .
function: def SetCustomButton(self, bitmap_id, button_state, bmp):
          """
          Sets a custom bitmap for the close, left, right and window list buttons.
          
          :param integer `bitmap_id`: the button identifier;
          :param integer `button_state`: the button state;
          :param Bitmap `bmp`: the custom bitmap to use for the button.
          """
  
          if bitmap_id == AUI_BUTTON_CLOSE:
              if button_state == AUI_BUTTON_STATE_NORMAL:
                  self._active_close_bmp = bmp
                  self._hover_close_bmp = self._active_close_bmp
                  self._pressed_close_bmp = self._active_close_bmp
                  self._disabled_close_bmp = self._active_close_bmp
                      
              elif button_state == AUI_BUTTON_STATE_HOVER:
                  self._hover_close_bmp = bmp
              elif button_state == AUI_BUTTON_STATE_PRESSED:
                  self._pressed_close_bmp = bmp
              else:
                  self._disabled_close_bmp = bmp
  
          elif bitmap_id == AUI_BUTTON_LEFT:
              if button_state & AUI_BUTTON_STATE_DISABLED:
                  self._disabled_left_bmp = bmp
              else:
                  self._active_left_bmp = bmp
  
          elif bitmap_id == AUI_BUTTON_RIGHT:
              if button_state & AUI_BUTTON_STATE_DISABLED:
                  self._disabled_right_bmp = bmp
              else:
                  self._active_right_bmp = bmp
  
          elif bitmap_id == AUI_BUTTON_WINDOWLIST:
              if button_state & AUI_BUTTON_STATE_DISABLED:
                  self._disabled_windowlist_bmp = bmp
              else:
                  self._active_windowlist_bmp = bmp
function_tokens: def SetCustomButton ( self , bitmap_id , button_state , bmp ) : if bitmap_id == AUI_BUTTON_CLOSE : if button_state == AUI_BUTTON_STATE_NORMAL : self . _active_close_bmp = bmp self . _hover_close_bmp = self . _active_close_bmp self . _pressed_close_bmp = self . _active_close_bmp self . _disabled_close_bmp = self . _active_close_bmp elif button_state == AUI_BUTTON_STATE_HOVER : self . _hover_close_bmp = bmp elif button_state == AUI_BUTTON_STATE_PRESSED : self . _pressed_close_bmp = bmp else : self . _disabled_close_bmp = bmp elif bitmap_id == AUI_BUTTON_LEFT : if button_state & AUI_BUTTON_STATE_DISABLED : self . _disabled_left_bmp = bmp else : self . _active_left_bmp = bmp elif bitmap_id == AUI_BUTTON_RIGHT : if button_state & AUI_BUTTON_STATE_DISABLED : self . _disabled_right_bmp = bmp else : self . _active_right_bmp = bmp elif bitmap_id == AUI_BUTTON_WINDOWLIST : if button_state & AUI_BUTTON_STATE_DISABLED : self . _disabled_windowlist_bmp = bmp else : self . _active_windowlist_bmp = bmp