parameters: (self, mode)
return_statement: return self
docstring: Sets the expected minimized mode if the minimize button is visible.
  
          :param integer `mode`: the minimized pane can have a specific position in the work space:
  
          ============================== ========= ==============================
          Minimize Mode Flag             Hex Value Description
          ============================== ========= ==============================
          ``AUI_MINIMIZE_POS_SMART``          0x01 Minimizes the pane on the closest tool bar
          ``AUI_MINIMIZE_POS_TOP``            0x02 Minimizes the pane on the top tool bar
          ``AUI_MINIMIZE_POS_LEFT``           0x03 Minimizes the pane on its left tool bar
          ``AUI_MINIMIZE_POS_RIGHT``          0x04 Minimizes the pane on its right tool bar
          ``AUI_MINIMIZE_POS_BOTTOM``         0x05 Minimizes the pane on its bottom tool bar
          ``AUI_MINIMIZE_POS_TOOLBAR``        0x06 Minimizes the pane on a target :class:`~lib.agw.aui.auibar.AuiToolBar`
          ============================== ========= ==============================
  
          The caption of the minimized pane can be displayed in different modes:
  
          ============================== ========= ==============================
          Caption Mode Flag              Hex Value Description
          ============================== ========= ==============================
          ``AUI_MINIMIZE_CAPT_HIDE``           0x0 Hides the caption of the minimized pane
          ``AUI_MINIMIZE_CAPT_SMART``         0x08 Displays the caption in the best rotation (horizontal in the top and in
                                                   the bottom tool bar or clockwise in the right and in the left tool bar)
          ``AUI_MINIMIZE_CAPT_HORZ``          0x10 Displays the caption horizontally
          ============================== ========= ==============================
  
          .. note::
  
             In order to use the ``AUI_MINIMIZE_POS_TOOLBAR`` flag, the instance of :class:`AuiManager`
             you pass as an input for :meth:`MinimizeTarget` **must** have a real name and not the randomly
             generated one. Remember to set the :meth:`Name` property of the toolbar pane before calling this method.
docstring_summary: Sets the expected minimized mode if the minimize button is visible.
docstring_tokens: Sets the expected minimized mode if the minimize button is visible .
function: def MinimizeMode(self, mode):
          """
          Sets the expected minimized mode if the minimize button is visible.
  
          :param integer `mode`: the minimized pane can have a specific position in the work space:
  
          ============================== ========= ==============================
          Minimize Mode Flag             Hex Value Description
          ============================== ========= ==============================
          ``AUI_MINIMIZE_POS_SMART``          0x01 Minimizes the pane on the closest tool bar
          ``AUI_MINIMIZE_POS_TOP``            0x02 Minimizes the pane on the top tool bar
          ``AUI_MINIMIZE_POS_LEFT``           0x03 Minimizes the pane on its left tool bar
          ``AUI_MINIMIZE_POS_RIGHT``          0x04 Minimizes the pane on its right tool bar
          ``AUI_MINIMIZE_POS_BOTTOM``         0x05 Minimizes the pane on its bottom tool bar
          ``AUI_MINIMIZE_POS_TOOLBAR``        0x06 Minimizes the pane on a target :class:`~lib.agw.aui.auibar.AuiToolBar`
          ============================== ========= ==============================
  
          The caption of the minimized pane can be displayed in different modes:
  
          ============================== ========= ==============================
          Caption Mode Flag              Hex Value Description
          ============================== ========= ==============================
          ``AUI_MINIMIZE_CAPT_HIDE``           0x0 Hides the caption of the minimized pane
          ``AUI_MINIMIZE_CAPT_SMART``         0x08 Displays the caption in the best rotation (horizontal in the top and in
                                                   the bottom tool bar or clockwise in the right and in the left tool bar)
          ``AUI_MINIMIZE_CAPT_HORZ``          0x10 Displays the caption horizontally
          ============================== ========= ==============================
  
          .. note::
  
             In order to use the ``AUI_MINIMIZE_POS_TOOLBAR`` flag, the instance of :class:`AuiManager`
             you pass as an input for :meth:`MinimizeTarget` **must** have a real name and not the randomly
             generated one. Remember to set the :meth:`Name` property of the toolbar pane before calling this method.
  
          """
  
          self.minimize_mode = mode
          return self
function_tokens: def MinimizeMode ( self , mode ) : self . minimize_mode = mode return self