wxSplitterWindow
Implements methods from the following classes
wxWindow
Methods
wxSplitterWindow
Default constructor.
Create
Creation function, for two-step construction.
GetMinimumPaneSize
Returns the current minimum pane size (defaults to zero).
GetSashGravity
Returns the current sash gravity.
GetSashPosition
Returns the current sash position.
GetSashSize
Returns the default sash size in pixels or 0 if it is invisible.
GetSplitMode
Gets the split mode.
GetWindow1
Returns the left/top or only pane.
GetWindow2
Returns the right/bottom pane.
Initialize
Initializes the splitter window to have one pane.
IsSplit
Returns true if the window is split, false otherwise.
OnDoubleClickSash
Application-overridable function called when the sash is double-clicked with the left mouse button.
OnSashPositionChange
Application-overridable function called when the sash position is changed by user.
OnUnsplit
Application-overridable function called when the window is unsplit, either programmatically or using the wxSplitterWindow user interface.
ReplaceWindow
This function replaces one of the windows managed by the wxSplitterWindow with another one.
SetMinimumPaneSize
Sets the minimum pane size.
SetSashGravity
Sets the sash gravity.
SetSashPosition
Sets the sash position.
SetSplitMode
Sets the split mode.
SplitHorizontally
Initializes the top and bottom panes of the splitter window.
SplitVertically
Initializes the left and right panes of the splitter window.
Unsplit
Unsplits the window.
UpdateSize
Causes any pending sizing of the sash and child panes to take place immediately.
Static Methods
wxSplitterWindow
wxSplitterWindow
( )
Default constructor.
wxSplitterWindow
(
wxWindow
&
$parent
,
integer
$id
=
wxID_ANY
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxSP_3D
,
string
$name
=
"splitterWindow"
)
Constructor for creating the window.
Create
bool
Create
(
wxWindow
&
$parent
,
integer
$id
=
wxID_ANY
,
wxPoint
$point
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxSP_3D
,
string
$name
=
"splitter"
)
Creation function, for two-step construction.
GetMinimumPaneSize
integer
GetMinimumPaneSize
( )
Returns the current minimum pane size (defaults to zero).
GetSashGravity
float
GetSashGravity
( )
Returns the current sash gravity.
GetSashPosition
integer
GetSashPosition
( )
Returns the current sash position.
GetSashSize
integer
GetSashSize
( )
Returns the default sash size in pixels or 0 if it is invisible.
GetSplitMode
wxSplitMode
GetSplitMode
( )
Gets the split mode.
GetWindow1
wxWindow
&
GetWindow1
( )
Returns the left/top or only pane.
GetWindow2
wxWindow
&
GetWindow2
( )
Returns the right/bottom pane.
Initialize
Initialize
(
wxWindow
&
$window
)
Initializes the splitter window to have one pane.
IsSplit
bool
IsSplit
( )
Returns true if the window is split, false otherwise.
OnDoubleClickSash
OnDoubleClickSash
(
integer
$x
,
integer
$y
)
Application-overridable function called when the sash is double-clicked with the left mouse button.
OnSashPositionChange
bool
OnSashPositionChange
(
integer
$newSashPosition
)
Application-overridable function called when the sash position is changed by user.
OnUnsplit
OnUnsplit
(
wxWindow
&
$removed
)
Application-overridable function called when the window is unsplit, either programmatically or using the wxSplitterWindow user interface.
ReplaceWindow
bool
ReplaceWindow
(
wxWindow
&
$winOld
,
wxWindow
&
$winNew
)
This function replaces one of the windows managed by the wxSplitterWindow with another one.
SetMinimumPaneSize
SetMinimumPaneSize
(
integer
$paneSize
)
Sets the minimum pane size.
SetSashGravity
SetSashGravity
(
float
$gravity
)
Sets the sash gravity.
SetSashPosition
SetSashPosition
(
integer
$position
,
bool
$redraw
=
true
)
Sets the sash position.
SetSplitMode
SetSplitMode
(
integer
$mode
)
Sets the split mode.
SplitHorizontally
bool
SplitHorizontally
(
wxWindow
&
$window1
,
wxWindow
&
$window2
,
integer
$sashPosition
)
Initializes the top and bottom panes of the splitter window.
SplitVertically
bool
SplitVertically
(
wxWindow
&
$window1
,
wxWindow
&
$window2
,
integer
$sashPosition
)
Initializes the left and right panes of the splitter window.
Unsplit
bool
Unsplit
(
wxWindow
&
$toRemove
=
NULL
)
Unsplits the window.
UpdateSize
UpdateSize
( )
Causes any pending sizing of the sash and child panes to take place immediately.