.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2017 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.floatbar .. highlight:: python .. _wx.lib.floatbar.FloatBar: ========================================================================================================================================== |phoenix_title| **wx.lib.floatbar.FloatBar** ========================================================================================================================================== wxToolBar subclass which can be dragged off its frame and later replaced there. Drag on the toolbar to release it, close it like a normal window to make it return to its original position. Programmatically, call SetFloatable(True) and then Float(True) to float, Float(False) to dock. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class FloatBar:

| |super_classes| Known Superclasses ================================== :class:`wx.ToolBar` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.floatbar.FloatBar.__init__` In addition to the usual arguments, wxFloatBar accepts keyword :meth:`~wx.lib.floatbar.FloatBar.Float` Floats or docks the toolbar programmatically. :meth:`~wx.lib.floatbar.FloatBar.GetTitle` :meth:`~wx.lib.floatbar.FloatBar.IsFloatable` :meth:`~wx.lib.floatbar.FloatBar.IsFloating` :meth:`~wx.lib.floatbar.FloatBar.OnDock` :meth:`~wx.lib.floatbar.FloatBar.OnMouse` :meth:`~wx.lib.floatbar.FloatBar.OnMove` :meth:`~wx.lib.floatbar.FloatBar.Realize` :meth:`~wx.lib.floatbar.FloatBar.SetFloatable` :meth:`~wx.lib.floatbar.FloatBar.SetTitle` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: FloatBar(wx.ToolBar) wxToolBar subclass which can be dragged off its frame and later replaced there. Drag on the toolbar to release it, close it like a normal window to make it return to its original position. Programmatically, call SetFloatable(True) and then Float(True) to float, Float(False) to dock. .. method:: __init__(self,\*_args,\*\*_kwargs) In addition to the usual arguments, wxFloatBar accepts keyword args of: title(string): the title that should appear on the toolbar's frame when it is floating. floatable(bool): whether user actions (i.e., dragging) can float the toolbar or not. .. method:: Float(self, bool) Floats or docks the toolbar programmatically. .. method:: GetTitle(self) .. method:: IsFloatable(self) .. method:: IsFloating(self) .. method:: OnDock(self, e) .. method:: OnMouse(self, e) .. method:: OnMove(self, e) .. method:: Realize(self) .. method:: SetFloatable(self, float) .. method:: SetTitle(self, title)