==================== DockWindow (hwx.gui) ==================== A dockable window. It can exist in a floating state or can be attached to the main application window. Inherits: - :ref:`Container (hwx.gui)` ---------- Properties ---------- +----------+----------+ | caption_ | docked_ | +----------+----------+ -------------- Public Methods -------------- +----------------------------------------------------------------------------------------+ | addChildren_ (self, children) | +----------------------------------------------------------------------------------------+ | addMaximizeRestoreButtons_ (self, maximizeText='Maximize', restoreText='Restore Down') | +----------------------------------------------------------------------------------------+ | createContents_ (self) | +----------------------------------------------------------------------------------------+ | setProperties_ (self, kwds) | +----------------------------------------------------------------------------------------+ ---------------- Property Details ---------------- .. _caption: .. property:: caption The text displayed in the title bar. .. _docked: .. property:: docked Docks/Undocks the window and returns if the window is docked. -------------- Method Details -------------- .. _addChildren: .. method:: addChildren(self, children) Adds widgets to the container. :param children: The widget or list of widgets to be added. :type children: list[Widget] .. _addMaximizeRestoreButtons: .. method:: addMaximizeRestoreButtons(self, maximizeText='Maximize', restoreText='Restore Down') Adds a maximize and a restore tool button to the title bar and implements the expected behavior when these are clicked. :param maximizeText: The tooltip of maximize button. :type maximizeText: str :param restoreText: The tooltip of restore button. :type restoreText: str .. _createContents: .. method:: createContents(self) To be implemented in derived class. .. _setProperties: .. method:: setProperties(self, kwds) :param kwds: :return: