class Fox::FX4Splitter

Instance methods

The four-way splitter is a layout manager which manages four children like four panes in a window. You can use a four-way splitter for example in a CAD program where you may want to maintain three orthographic views, and one oblique view of a model. The four-way splitter allows interactive repartitioning of the panes by means of moving the central splitter bars. When the four-way splitter is itself resized, each child is proportionally resized, maintaining the same split-percentage.

Events

The following messages are sent by FX4Splitter to its target:

SEL_LEFTBUTTONPRESS

sent when the left mouse button goes down; the message data is an FXEvent instance.

SEL_LEFTBUTTONRELEASE

sent when the left mouse button goes up; the message data is an FXEvent instance.

SEL_COMMAND

sent at the end of a resize operation, to signal that the resize is complete

SEL_CHANGED

sent continuously while a resize operation is occurring

Splitter options

FOURSPLITTER_TRACKING

Track continuously during split

FOURSPLITTER_NORMAL

Normal mode (no continuous tracking)

Expansion options

ExpandNone

None expanded

ExpandTopLeft

Expand top left child

ExpandTopRight

Expand top right child

ExpandBottomLeft

Expand bottom left child

ExpandBottomRight

Expand bottom right child

ExpandTop

Expand top children

ExpandBottom

Expand bottom children

ExpandLeft

Expand left children

ExpandRight

Expand right children

ExpandAll

Expand all children

Message identifiers

ID_EXPAND_NONE

None expanded

ID_EXPAND_TOP

Expand top left and top right panes

ID_EXPAND_BOTTOM

Expand bottom left and bottom right panes

ID_EXPAND_LEFT

Expand leftmost panes

ID_EXPAND_RIGHT

Expand rightmost panes

ID_EXPAND_TOPLEFT

Expand top left pane

ID_EXPAND_TOPRIGHT

Expand top right pane

ID_EXPAND_BOTTOMLEFT

Expand bottom left pane

ID_EXPAND_BOTTOMRIGHT

Expand bottom right pane

ID_EXPAND_ALL

Expand all panes