wxSplitterWindow

wxSplitterWindow
Creation Parameters
Functions/Procedures
Supertopics

wxSplitterWindow

[func]
get_sash_gravity
( atom split )

Category: wxSplitterWindow

Returns the current sash gravity.


wxSplitterWindow

[func]
get_splitter_sash_position
( atom split )

Category: wxSplitterWindow

Returns the position of the sash in the specified wxSplitterWindow in pixels.


wxSplitterWindow

[proc]
initialize_split
( atom split, atom window )

Category: wxSplitterWindow


wxSplitterWindow

[proc]
set_min_pane_size
( atom split, integer size )

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

[proc]
set_sash_gravity
( atom split, atom gravity )

Category: wxSplitterWindow

Sets the sash gravity.

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:

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

[proc]
set_splitter_sash_position
( atom split, integer pos, integer redraw )

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

Splits the window, using win1 and win2, which must have split as their parent. orient

wxSplitterWindow

[proc]
unsplit_window
( atom split, atom window )

Category: wxSplitterWindow