parameters: (self, agwFlags)
docstring: Sets the tab art flags.
  
          :param integer `agwFlags`: a combination of the following values:
  
           ==================================== ==================================
           Flag name                            Description
           ==================================== ==================================
           ``AUI_NB_TOP``                       With this style, tabs are drawn along the top of the notebook
           ``AUI_NB_LEFT``                      With this style, tabs are drawn along the left of the notebook. Not implemented yet
           ``AUI_NB_RIGHT``                     With this style, tabs are drawn along the right of the notebook. Not implemented yet
           ``AUI_NB_BOTTOM``                    With this style, tabs are drawn along the bottom of the notebook
           ``AUI_NB_TAB_SPLIT``                 Allows the tab control to be split by dragging a tab
           ``AUI_NB_TAB_MOVE``                  Allows a tab to be moved horizontally by dragging
           ``AUI_NB_TAB_EXTERNAL_MOVE``         Allows a tab to be moved to another tab control
           ``AUI_NB_TAB_FIXED_WIDTH``           With this style, all tabs have the same width
           ``AUI_NB_SCROLL_BUTTONS``            With this style, left and right scroll buttons are displayed
           ``AUI_NB_WINDOWLIST_BUTTON``         With this style, a drop-down list of windows is available
           ``AUI_NB_CLOSE_BUTTON``              With this style, a close button is available on the tab bar
           ``AUI_NB_CLOSE_ON_ACTIVE_TAB``       With this style, a close button is available on the active tab
           ``AUI_NB_CLOSE_ON_ALL_TABS``         With this style, a close button is available on all tabs
           ``AUI_NB_MIDDLE_CLICK_CLOSE``        Allows to close :class:`AuiNotebook` tabs by mouse middle button click
           ``AUI_NB_SUB_NOTEBOOK``              This style is used by :class:`~lib.agw.aui.framemanager.AuiManager` to create automatic AuiNotebooks
           ``AUI_NB_HIDE_ON_SINGLE_TAB``        Hides the tab window if only one tab is present
           ``AUI_NB_SMART_TABS``                Use Smart Tabbing, like ``Alt`` + ``Tab`` on Windows
           ``AUI_NB_USE_IMAGES_DROPDOWN``       Uses images on dropdown window list menu instead of check items
           ``AUI_NB_CLOSE_ON_TAB_LEFT``         Draws the tab close button on the left instead of on the right (a la Camino browser)
           ``AUI_NB_TAB_FLOAT``                 Allows the floating of single tabs. Known limitation: when the notebook is more or less full screen,
                                                tabs cannot be dragged far enough outside of the notebook to become floating pages
           ``AUI_NB_DRAW_DND_TAB``              Draws an image representation of a tab while dragging (on by default)
           ``AUI_NB_ORDER_BY_ACCESS``           Tab navigation order by last access time for the tabs
           ``AUI_NB_NO_TAB_FOCUS``              Don't draw tab focus rectangle
           ==================================== ==================================
  
          .. todo:: Implementation of flags ``AUI_NB_RIGHT`` and ``AUI_NB_LEFT``.
docstring_summary: Sets the tab art flags.
docstring_tokens: Sets the tab art flags .
function: def SetAGWFlags(self, agwFlags):
          """
          Sets the tab art flags.
  
          :param integer `agwFlags`: a combination of the following values:
  
           ==================================== ==================================
           Flag name                            Description
           ==================================== ==================================
           ``AUI_NB_TOP``                       With this style, tabs are drawn along the top of the notebook
           ``AUI_NB_LEFT``                      With this style, tabs are drawn along the left of the notebook. Not implemented yet
           ``AUI_NB_RIGHT``                     With this style, tabs are drawn along the right of the notebook. Not implemented yet
           ``AUI_NB_BOTTOM``                    With this style, tabs are drawn along the bottom of the notebook
           ``AUI_NB_TAB_SPLIT``                 Allows the tab control to be split by dragging a tab
           ``AUI_NB_TAB_MOVE``                  Allows a tab to be moved horizontally by dragging
           ``AUI_NB_TAB_EXTERNAL_MOVE``         Allows a tab to be moved to another tab control
           ``AUI_NB_TAB_FIXED_WIDTH``           With this style, all tabs have the same width
           ``AUI_NB_SCROLL_BUTTONS``            With this style, left and right scroll buttons are displayed
           ``AUI_NB_WINDOWLIST_BUTTON``         With this style, a drop-down list of windows is available
           ``AUI_NB_CLOSE_BUTTON``              With this style, a close button is available on the tab bar
           ``AUI_NB_CLOSE_ON_ACTIVE_TAB``       With this style, a close button is available on the active tab
           ``AUI_NB_CLOSE_ON_ALL_TABS``         With this style, a close button is available on all tabs
           ``AUI_NB_MIDDLE_CLICK_CLOSE``        Allows to close :class:`AuiNotebook` tabs by mouse middle button click
           ``AUI_NB_SUB_NOTEBOOK``              This style is used by :class:`~lib.agw.aui.framemanager.AuiManager` to create automatic AuiNotebooks
           ``AUI_NB_HIDE_ON_SINGLE_TAB``        Hides the tab window if only one tab is present
           ``AUI_NB_SMART_TABS``                Use Smart Tabbing, like ``Alt`` + ``Tab`` on Windows
           ``AUI_NB_USE_IMAGES_DROPDOWN``       Uses images on dropdown window list menu instead of check items
           ``AUI_NB_CLOSE_ON_TAB_LEFT``         Draws the tab close button on the left instead of on the right (a la Camino browser)
           ``AUI_NB_TAB_FLOAT``                 Allows the floating of single tabs. Known limitation: when the notebook is more or less full screen,
                                                tabs cannot be dragged far enough outside of the notebook to become floating pages
           ``AUI_NB_DRAW_DND_TAB``              Draws an image representation of a tab while dragging (on by default)
           ``AUI_NB_ORDER_BY_ACCESS``           Tab navigation order by last access time for the tabs
           ``AUI_NB_NO_TAB_FOCUS``              Don't draw tab focus rectangle
           ==================================== ==================================
  
          .. todo:: Implementation of flags ``AUI_NB_RIGHT`` and ``AUI_NB_LEFT``.
  
          """
  
          self._agwFlags = agwFlags
  
          # check for new close button settings
          self.RemoveButton(AUI_BUTTON_LEFT)
          self.RemoveButton(AUI_BUTTON_RIGHT)
          self.RemoveButton(AUI_BUTTON_WINDOWLIST)
          self.RemoveButton(AUI_BUTTON_CLOSE)
  
          if agwFlags & AUI_NB_SCROLL_BUTTONS:
              self.AddButton(AUI_BUTTON_LEFT, wx.LEFT, name="Scroll Left")
              self.AddButton(AUI_BUTTON_RIGHT, wx.RIGHT, name="Scroll Right")
  
          if agwFlags & AUI_NB_WINDOWLIST_BUTTON:
              self.AddButton(AUI_BUTTON_WINDOWLIST, wx.RIGHT, name="Window List")
  
          if agwFlags & AUI_NB_CLOSE_BUTTON:
              self.AddButton(AUI_BUTTON_CLOSE, wx.RIGHT, name="Close")
  
          if self._art:
              self._art.SetAGWFlags(self._agwFlags)
function_tokens: def SetAGWFlags ( self , agwFlags ) : self . _agwFlags = agwFlags # check for new close button settings self . RemoveButton ( AUI_BUTTON_LEFT ) self . RemoveButton ( AUI_BUTTON_RIGHT ) self . RemoveButton ( AUI_BUTTON_WINDOWLIST ) self . RemoveButton ( AUI_BUTTON_CLOSE ) if agwFlags & AUI_NB_SCROLL_BUTTONS : self . AddButton ( AUI_BUTTON_LEFT , wx . LEFT , name = "Scroll Left" ) self . AddButton ( AUI_BUTTON_RIGHT , wx . RIGHT , name = "Scroll Right" ) if agwFlags & AUI_NB_WINDOWLIST_BUTTON : self . AddButton ( AUI_BUTTON_WINDOWLIST , wx . RIGHT , name = "Window List" ) if agwFlags & AUI_NB_CLOSE_BUTTON : self . AddButton ( AUI_BUTTON_CLOSE , wx . RIGHT , name = "Close" ) if self . _art : self . _art . SetAGWFlags ( self . _agwFlags )