wxSplitterWindow
Creation Parameters
- atom parent
- integer id [= -1]
- integer x [= -1]
- integer y [= -1]
- integer cx [= -1]
- integer cy [= -1]
- atom style [= wxSP_BORDER | wxSP_FULLSASH]
Functions/Procedures
- func get_sash_gravity( atom split )
- func get_splitter_sash_position( atom split )
- proc initialize_split( atom split, atom window )
- proc set_min_pane_size( atom split, integer size )
- proc set_sash_gravity( atom split, atom gravity )
- proc set_splitter_sash_position( atom split, integer pos, integer redraw )
- proc split_window( atom split, atom win1, atom win2, integer orient, integer pos )
- proc unsplit_window( atom split, atom window )
Supertopics
wxSplitterWindow
Category:
wxSplitterWindow
Returns the current sash gravity.
wxSplitterWindow
Category:
wxSplitterWindow
Returns the position of the sash in the specified wxSplitterWindow in pixels.
wxSplitterWindow
Category:
wxSplitterWindow
wxSplitterWindow
Category:
wxSplitterWindow
The default minimum pane size is zero, which means that either pane
can be reduced to zero by dragging the sash, thus removing one of the panes.
To prevent this behaviour (and veto out-of-range sash dragging), set a
minimum size, for example 20 pixels. If the wxSP_PERMIT_UNSPLIT style
is used when a splitter window is created, the window may be unsplit
even if minimum size is non-zero
wxSplitterWindow
Category:
wxSplitterWindow
Sets the sash gravity.
- gravity The sash gravity. Value between 0.0 and 1.0.
Gravity is real factor which controls position of sash while resizing wxSplitterWindow.
Gravity tells wxSplitterWindow how much will left/top window grow while resizing.
Example values:
- 0.0 - only the bottom/right window is automatically resized
- 0.5 - both windows grow by equal size
- 1.0 - only left/top window grows
Gravity should be a real value between 0.0 and 1.0.
Default value of sash gravity is 0.0. That value is compatible with previous (before gravity was introduced) behaviour of wxSplitterWindow.
wxSplitterWindow
Category:
wxSplitterWindow
Sets the sash position of the wxSplitterWindow at pos pixels. The windows
will not be redrawn unless redraw is 1.
wxSplitterWindow
[proc]
split_window ( atom split, atom win1, atom win2, integer orient, integer pos )
Category:
wxSplitterWindow
- split: wxSplitterWindow to split
- win1: First window (placed on left or top, depending on orient)
- win2: Second window (placed on right or bottom, depending on orient)
- orient: wxHORIZONTAL or wxVERTICAL
- pos: Initial position, in pixels, for the sash
Splits the window, using
win1 and
win2, which must have
split as their
parent.
orient
wxSplitterWindow
Category:
wxSplitterWindow