Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXToolBar.h>
Inheritance diagram for FX::FXToolBar:
Public Types | |
enum | { ID_UNDOCK = FXPacker::ID_LAST, ID_DOCK_TOP, ID_DOCK_BOTTOM, ID_DOCK_LEFT, ID_DOCK_RIGHT, ID_TOOLBARGRIP, ID_LAST } |
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=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, 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) | |
void | setDryDock (FXComposite *dry) |
void | setWetDock (FXComposite *wet) |
FXComposite * | getDryDock () const |
FXComposite * | getWetDock () const |
FXbool | isDocked () const |
virtual void | dock (FXuint side=LAYOUT_SIDE_TOP, FXWindow *after=(FXWindow *)-1L) |
virtual void | undock () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | layout () |
virtual FXint | getWidthForHeight (FXint h) |
virtual FXint | getHeightForWidth (FXint w) |
void | setDockingSide (FXuint side=LAYOUT_SIDE_TOP) |
FXuint | getDockingSide () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXToolBar () |
|
|
|
Construct a floatable toolbar Normally, the toolbar is docked under window p. When floated, the toolbar can be docked under window q, which is typically an FXToolBarShell window. |
|
Construct a non-floatable toolbar. The toolbar can not be undocked. |
|
Destroy.
|
|
Set parent when docked. If it was docked, reparent under the new docking window. |
|
Set parent when floating. If it was undocked, then reparent under the new floating window. |
|
Return parent when docked.
|
|
Return parent when floating.
|
|
Return true if toolbar is docked.
|
|
Dock the bar against the given side, after some other widget. However, if after is -1, it will be docked as the innermost bar just before the work-area, while if after is 0, if will be docked as the outermost bar. |
|
Undock or float the bar. The initial position of the wet dock is a few pixels below and to the right of the original docked position. |
|
Return default width.
Reimplemented from FX::FXPacker. |
|
Return default height.
Reimplemented from FX::FXPacker. |
|
Perform layout.
Reimplemented from FX::FXPacker. |
|
Return width for given height.
Reimplemented from FX::FXWindow. |
|
Return height for given width.
Reimplemented from FX::FXWindow. |
|
Set docking side.
|
|
Return docking side.
|
|
Save toolbar to a stream.
Reimplemented from FX::FXPacker. |
|
Load toolbar from a stream.
Reimplemented from FX::FXPacker. |
Copyright © 1997-2004 Jeroen van der Zijp |