parameters: (self, agwStyle)
docstring: Sets the AGW-specific style of the window.
          
          :param integer `agwStyle`: the new window style. This can be a combination of the
           following bits:
          
           ==================================== ==================================
           Flag name                            Description
           ==================================== ==================================
           ``AUI_TB_TEXT``                      Shows the text in the toolbar buttons; by default only icons are shown
           ``AUI_TB_NO_TOOLTIPS``               Don't show tooltips on :class:`AuiToolBar` items
           ``AUI_TB_NO_AUTORESIZE``             Do not auto-resize the :class:`AuiToolBar`
           ``AUI_TB_GRIPPER``                   Shows a gripper on the :class:`AuiToolBar`
           ``AUI_TB_OVERFLOW``                  The :class:`AuiToolBar` can contain overflow items
           ``AUI_TB_VERTICAL``                  The :class:`AuiToolBar` is vertical
           ``AUI_TB_HORZ_LAYOUT``               Shows the text and the icons alongside, not vertically stacked.
                                                This style must be used with ``AUI_TB_TEXT``
           ``AUI_TB_PLAIN_BACKGROUND``          Don't draw a gradient background on the toolbar
           ``AUI_TB_HORZ_TEXT``                 Combination of ``AUI_TB_HORZ_LAYOUT`` and ``AUI_TB_TEXT``
           ==================================== ==================================
  
          :note: Please note that some styles cannot be changed after the window
           creation and that `Refresh` might need to be be called after changing the
           others for the change to take place immediately.
docstring_summary: Sets the AGW-specific style of the window.
          
          :param integer `agwStyle`: the new window style. This can be a combination of the
           following bits:
          
           ==================================== ==================================
           Flag name                            Description
           ==================================== ==================================
           ``AUI_TB_TEXT``                      Shows the text in the toolbar buttons; by default only icons are shown
           ``AUI_TB_NO_TOOLTIPS``               Don't show tooltips on :class:`AuiToolBar` items
           ``AUI_TB_NO_AUTORESIZE``             Do not auto-resize the :class:`AuiToolBar`
           ``AUI_TB_GRIPPER``                   Shows a gripper on the :class:`AuiToolBar`
           ``AUI_TB_OVERFLOW``                  The :class:`AuiToolBar` can contain overflow items
           ``AUI_TB_VERTICAL``                  The :class:`AuiToolBar` is vertical
           ``AUI_TB_HORZ_LAYOUT``               Shows the text and the icons alongside, not vertically stacked.
                                                This style must be used with ``AUI_TB_TEXT``
           ``AUI_TB_PLAIN_BACKGROUND``          Don't draw a gradient background on the toolbar
           ``AUI_TB_HORZ_TEXT``                 Combination of ``AUI_TB_HORZ_LAYOUT`` and ``AUI_TB_TEXT``
           ==================================== ==================================
docstring_tokens: Sets the AGW - specific style of the window . : param integer agwStyle : the new window style . This can be a combination of the following bits : ==================================== ================================== Flag name Description ==================================== ================================== AUI_TB_TEXT Shows the text in the toolbar buttons ; by default only icons are shown AUI_TB_NO_TOOLTIPS Don t show tooltips on : class : AuiToolBar items AUI_TB_NO_AUTORESIZE Do not auto - resize the : class : AuiToolBar AUI_TB_GRIPPER Shows a gripper on the : class : AuiToolBar AUI_TB_OVERFLOW The : class : AuiToolBar can contain overflow items AUI_TB_VERTICAL The : class : AuiToolBar is vertical AUI_TB_HORZ_LAYOUT Shows the text and the icons alongside not vertically stacked . This style must be used with AUI_TB_TEXT AUI_TB_PLAIN_BACKGROUND Don t draw a gradient background on the toolbar AUI_TB_HORZ_TEXT Combination of AUI_TB_HORZ_LAYOUT and AUI_TB_TEXT ==================================== ==================================
function: def SetAGWWindowStyleFlag(self, agwStyle):
          """
          Sets the AGW-specific style of the window.
          
          :param integer `agwStyle`: the new window style. This can be a combination of the
           following bits:
          
           ==================================== ==================================
           Flag name                            Description
           ==================================== ==================================
           ``AUI_TB_TEXT``                      Shows the text in the toolbar buttons; by default only icons are shown
           ``AUI_TB_NO_TOOLTIPS``               Don't show tooltips on :class:`AuiToolBar` items
           ``AUI_TB_NO_AUTORESIZE``             Do not auto-resize the :class:`AuiToolBar`
           ``AUI_TB_GRIPPER``                   Shows a gripper on the :class:`AuiToolBar`
           ``AUI_TB_OVERFLOW``                  The :class:`AuiToolBar` can contain overflow items
           ``AUI_TB_VERTICAL``                  The :class:`AuiToolBar` is vertical
           ``AUI_TB_HORZ_LAYOUT``               Shows the text and the icons alongside, not vertically stacked.
                                                This style must be used with ``AUI_TB_TEXT``
           ``AUI_TB_PLAIN_BACKGROUND``          Don't draw a gradient background on the toolbar
           ``AUI_TB_HORZ_TEXT``                 Combination of ``AUI_TB_HORZ_LAYOUT`` and ``AUI_TB_TEXT``
           ==================================== ==================================
  
          :note: Please note that some styles cannot be changed after the window
           creation and that `Refresh` might need to be be called after changing the
           others for the change to take place immediately.
          """
          
          self._agwStyle = self._originalStyle = agwStyle
  
          if self._art:
              self._art.SetAGWFlags(self._agwStyle)
          
          if agwStyle & AUI_TB_GRIPPER:
              self._gripper_visible = True
          else:
              self._gripper_visible = False
  
          if agwStyle & AUI_TB_OVERFLOW:
              self._overflow_visible = True
          else:
              self._overflow_visible = False
  
          if agwStyle & AUI_TB_HORZ_LAYOUT:
              self.SetToolTextOrientation(AUI_TBTOOL_TEXT_RIGHT)
          else:
              self.SetToolTextOrientation(AUI_TBTOOL_TEXT_BOTTOM)
  
          if agwStyle & AUI_TB_VERTICAL:
              if agwStyle & AUI_TB_CLOCKWISE:
                  self.SetToolOrientation(AUI_TBTOOL_VERT_CLOCKWISE)
              elif agwStyle & AUI_TB_COUNTERCLOCKWISE:
                  self.SetToolOrientation(AUI_TBTOOL_VERT_COUNTERCLOCKWISE)
function_tokens: def SetAGWWindowStyleFlag ( self , agwStyle ) : self . _agwStyle = self . _originalStyle = agwStyle if self . _art : self . _art . SetAGWFlags ( self . _agwStyle ) if agwStyle & AUI_TB_GRIPPER : self . _gripper_visible = True else : self . _gripper_visible = False if agwStyle & AUI_TB_OVERFLOW : self . _overflow_visible = True else : self . _overflow_visible = False if agwStyle & AUI_TB_HORZ_LAYOUT : self . SetToolTextOrientation ( AUI_TBTOOL_TEXT_RIGHT ) else : self . SetToolTextOrientation ( AUI_TBTOOL_TEXT_BOTTOM ) if agwStyle & AUI_TB_VERTICAL : if agwStyle & AUI_TB_CLOCKWISE : self . SetToolOrientation ( AUI_TBTOOL_VERT_CLOCKWISE ) elif agwStyle & AUI_TB_COUNTERCLOCKWISE : self . SetToolOrientation ( AUI_TBTOOL_VERT_COUNTERCLOCKWISE )