![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXSplitter.h>
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 (SPLITTER_HORIZONTAL, which the default) or vertically (SPLITTER_VERTICAL option). 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:
FX::FXSplitter::FXSplitter | ( | FXComposite * | p, | |
FXuint | opts = SPLITTER_NORMAL , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 | |||
) |
Construct new splitter widget.
FX::FXSplitter::FXSplitter | ( | FXComposite * | p, | |
FXObject * | tgt, | |||
FXSelector | sel, | |||
FXuint | opts = SPLITTER_NORMAL , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 | |||
) |
Construct new splitter widget, which will notify target about size changes.
virtual FX::FXSplitter::~FXSplitter | ( | ) | [virtual] |
Destroy splitter.
virtual FXint FX::FXSplitter::getDefaultWidth | ( | ) | [virtual] |
virtual FXint FX::FXSplitter::getDefaultHeight | ( | ) | [virtual] |
virtual void FX::FXSplitter::layout | ( | ) | [virtual] |
Change the size of panel at the given index.
void FX::FXSplitter::setSplitterStyle | ( | FXuint | style | ) |
Change splitter style.
FXuint FX::FXSplitter::getSplitterStyle | ( | ) | const |
Return current splitter style.
void FX::FXSplitter::setBarSize | ( | FXint | bs | ) |
Change splitter bar size.
FXint FX::FXSplitter::getBarSize | ( | ) | const [inline] |
Return current bar size.
virtual void FX::FXSplitter::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXSplitter::load | ( | FXStream & | store | ) | [virtual] |
![]() |