FXSplitter

Splitter window is used to interactively repartition two or more subpanes. 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 panes; 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. These options only affect interactive resizing.


FXSplitter(p, opts=SPLITTER_NORMAL, x=0, y=0, w=0, h=0)

Construct new splitter widget.

ArgumentTypeDefaultDescription
pFXComposite  
optsIntSPLITTER_NORMAL 
xInt0 
yInt0 
wInt0 
hInt0 


FXSplitter(p, tgt, sel, opts=SPLITTER_NORMAL, x=0, y=0, w=0, h=0)

Construct new splitter widget, which will notify target about size changes.

ArgumentTypeDefaultDescription
pFXComposite  
tgtFXObject  
selInt  
optsIntSPLITTER_NORMAL 
xInt0 
yInt0 
wInt0 
hInt0 


getDefaultHeight()

Get default height.

Reimplemented from FXComposite.


getDefaultWidth()

Get default width.

Reimplemented from FXComposite.


getSplitterStyle()

Return current splitter style.


setSplitterStyle(style)

Change splitter style.

ArgumentTypeDefaultDescription
styleInt  


Global flags

Splitter options

SPLITTER_HORIZONTAL

Split horizontally.

SPLITTER_VERTICAL

Split vertically.

SPLITTER_REVERSED

Reverse-anchored.

SPLITTER_TRACKING

Track continuous during split.