Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXSwitcher.h>
Inheritance diagram for FX::FXSwitcher:
Public Member Functions | |
FXSwitcher (FXComposite *p, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_SPACING, FXint pr=DEFAULT_SPACING, FXint pt=DEFAULT_SPACING, FXint pb=DEFAULT_SPACING) | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | layout () |
void | setCurrent (FXint index, FXbool notify=FALSE) |
FXint | getCurrent () const |
void | setSwitcherStyle (FXuint style) |
FXuint | getSwitcherStyle () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
Switcher provides a convenient method to conserve screen real-estate by arranging several GUI panels to appear in the same space, depending on context. Switcher ignores all layout hints from its children:- all children are stretched according to the switcher layout managers own size. When the SWITCHER_HCOLLAPSE or SWITCHER_VCOLLAPSE options are used, Switcher's default size is based on the width or height of the current child, instead of the maximum width or height of all of the children.
See also:
|
Construct a switcher layout manager.
|
|
Return default width.
Reimplemented from FX::FXPacker. |
|
Return default height.
Reimplemented from FX::FXPacker. |
|
Perform layout.
Reimplemented from FX::FXPacker. |
|
Bring the child window at index to the top.
|
|
Return the index of the child window currently on top.
|
|
Set the switcher style flags.
|
|
Get the switcher style flags.
|
|
Save to stream.
Reimplemented from FX::FXPacker. |
|
Load from stream.
Reimplemented from FX::FXPacker. |
Copyright © 1997-2005 Jeroen van der Zijp |