Phoenix Logo

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

Inheritance diagram for class FloatBar:


super_classes Known Superclasses

wx.ToolBar


method_summary Methods Summary

__init__ In addition to the usual arguments, wxFloatBar accepts keyword
Float Floats or docks the toolbar programmatically.
GetTitle  
IsFloatable  
IsFloating  
OnDock  
OnMouse  
OnMove  
Realize  
SetFloatable  
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.


Methods



__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.



Float(self, bool)

Floats or docks the toolbar programmatically.



GetTitle(self)


IsFloatable(self)


IsFloating(self)


OnDock(self, e)


OnMouse(self, e)


OnMove(self, e)


Realize(self)


SetFloatable(self, float)


SetTitle(self, title)