![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXToolBar.h>
Public Member Functions | |
FXToolBar (FXComposite *p, FXComposite *q, FXuint opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=3, FXint pr=3, FXint pt=2, FXint pb=2, FXint hs=DEFAULT_SPACING, FXint vs=DEFAULT_SPACING) | |
FXToolBar (FXComposite *p, FXuint opts, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=2, FXint pr=3, FXint pt=3, FXint pb=2, FXint hs=DEFAULT_SPACING, FXint vs=DEFAULT_SPACING) | |
virtual void | layout () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | dock (FXDockSite *docksite, FXWindow *before=NULL, FXbool notify=FALSE) |
virtual void | dock (FXDockSite *docksite, FXint localx, FXint localy, FXbool notify) |
void | setDockingSide (FXuint side=LAYOUT_SIDE_TOP) |
FXuint | getDockingSide () const |
A tool bar widget can be docked in a dock site; it automatically adjusts its orientation based on the orientation of the dock site, and adjusts the layout options accordingly.
See dock bar widget for more information on the docking behavior.
FX::FXToolBar::FXToolBar | ( | FXComposite * | p, |
FXComposite * | q, | ||
FXuint | opts = LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X , |
||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 , |
||
FXint | pl = 3 , |
||
FXint | pr = 3 , |
||
FXint | pt = 2 , |
||
FXint | pb = 2 , |
||
FXint | hs = DEFAULT_SPACING , |
||
FXint | vs = DEFAULT_SPACING |
||
) |
Construct floatable toolbar, initially docked under parent p.
FX::FXToolBar::FXToolBar | ( | FXComposite * | p, |
FXuint | opts, | ||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 , |
||
FXint | pl = 2 , |
||
FXint | pr = 3 , |
||
FXint | pt = 3 , |
||
FXint | pb = 2 , |
||
FXint | hs = DEFAULT_SPACING , |
||
FXint | vs = DEFAULT_SPACING |
||
) |
Construct a non-floatable toolbar.
virtual void FX::FXToolBar::layout | ( | ) | [virtual] |
Perform layout.
Reimplemented from FX::FXPacker.
virtual FXint FX::FXToolBar::getDefaultWidth | ( | ) | [virtual] |
Return default width.
Reimplemented from FX::FXPacker.
virtual FXint FX::FXToolBar::getDefaultHeight | ( | ) | [virtual] |
Return default height.
Reimplemented from FX::FXPacker.
virtual void FX::FXToolBar::dock | ( | FXDockSite * | docksite, |
FXWindow * | before = NULL , |
||
FXbool | notify = FALSE |
||
) | [virtual] |
Dock and optionally flip orientation of toolbar.
Reimplemented from FX::FXDockBar.
virtual void FX::FXToolBar::dock | ( | FXDockSite * | docksite, |
FXint | localx, | ||
FXint | localy, | ||
FXbool | notify | ||
) | [virtual] |
Dock and optionally flip orientation of toolbar.
Reimplemented from FX::FXDockBar.
void FX::FXToolBar::setDockingSide | ( | FXuint | side = LAYOUT_SIDE_TOP | ) |
Set docking side.
FXuint FX::FXToolBar::getDockingSide | ( | ) | const |
Return docking side.
![]() |