Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXSplitter.h>
Inheritance diagram for FX::FXSplitter:
Public Member Functions | |
FXSplitter (FXComposite *p, FXuint opts=SPLITTER_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
FXSplitter (FXComposite *p, FXObject *tgt, FXSelector sel, FXuint opts=SPLITTER_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | layout () |
FXint | getSplit (FXint index) const |
void | setSplit (FXint index, FXint size) |
void | setSplitterStyle (FXuint style) |
FXuint | getSplitterStyle () const |
void | setBarSize (FXint bs) |
FXint | getBarSize () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXSplitter () |
Space may be subdivided horizontally or vertically. When the splitter is itself resized, the right-most (bottom-most) child window will be resized unless the splitter window is reversed; if the splitter is reversed, the left-most (top-most) child window will be resized instead. The splitter widget sends a SEL_CHANGED to its target during the resizing of the panels; at the end of the resize interaction, it sends a SEL_COMMAND to signify that the resize operation is complete. Normally, children are resizable from 0 upwards; however, if the child in a horizontally oriented splitter has LAYOUT_FILL_X in combination with LAYOUT_FIX_WIDTH, it will not be made smaller than its default width, except when the child is the last visible widget (or first when the option SPLITTER_REVERSED has been passed to the splitter). In a vertically oriented splitter, children with LAYOUT_FILL_Y and LAYOUT_FIX_HEIGHT behave analogously.
See also:
|
Construct new splitter widget.
|
|
Construct new splitter widget, which will notify target about size changes.
|
|
Destroy splitter.
|
|
Get default width.
Reimplemented from FX::FXComposite. |
|
Get default height.
Reimplemented from FX::FXComposite. |
|
Perform layout.
Reimplemented from FX::FXComposite. |
|
Return size of the panel at index.
|
|
Change the size of panel at the given index.
|
|
Change splitter style.
|
|
Return current splitter style.
|
|
Change splitter bar size.
|
|
Return current bar size.
|
|
Save to stream.
Reimplemented from FX::FXWindow. |
|
Load from stream.
Reimplemented from FX::FXWindow. |
Copyright © 1997-2004 Jeroen van der Zijp |