wxWindow *window2,
int sashPosition = 0),
"Initializes the left and right panes of the splitter window. The
-child windows are shown if they are currently hidden.",
- "
+child windows are shown if they are currently hidden.","
+
:param window1: The left pane.
:param window2: The right pane.
:param sashPosition: The initial position of the sash. If this
value is positive, it specifies the size of the left
- pane. If it is negative, it is absolute value gives
+ pane. If it is negative, its absolute value gives
the size of the right pane. Finally, specify 0
(default) to choose the default position (half of
the total window width).
wxWindow *window2,
int sashPosition = 0),
"Initializes the top and bottom panes of the splitter window. The
-child windows are shown if they are currently hidden.",
- "
+child windows are shown if they are currently hidden.","
+
:param window1: The top pane.
:param window2: The bottom pane.
:param sashPosition: The initial position of the sash. If this
value is positive, it specifies the size of the
- upper pane. If it is negative, it is absolute value
+ upper pane. If it is negative, its absolute value
gives the size of the lower pane. Finally, specify 0
(default) to choose the default position (half of
the total window height).
DocDeclStr(
void , SetSashSize(int width),
- "Sets the sash size. Currently a NOP.", "");
+ "Sets the sash size.", "");
DocDeclStr(
automaticaly resized.
0.5 Both windows grow equally.
1.0 Only left/top window grows.
+ ======= =======================================
The default value of sash gravity is 0.0. That value is compatible
with the previous (before gravity was introduced) behaviour of the
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+ %property(BorderSize, GetBorderSize, SetBorderSize, doc="See `GetBorderSize` and `SetBorderSize`");
+ %property(MinimumPaneSize, GetMinimumPaneSize, SetMinimumPaneSize, doc="See `GetMinimumPaneSize` and `SetMinimumPaneSize`");
+ %property(NeedUpdating, GetNeedUpdating, SetNeedUpdating, doc="See `GetNeedUpdating` and `SetNeedUpdating`");
+ %property(SashGravity, GetSashGravity, SetSashGravity, doc="See `GetSashGravity` and `SetSashGravity`");
+ %property(SashPosition, GetSashPosition, SetSashPosition, doc="See `GetSashPosition` and `SetSashPosition`");
+ %property(SashSize, GetSashSize, SetSashSize, doc="See `GetSashSize` and `SetSashSize`");
+ %property(SplitMode, GetSplitMode, SetSplitMode, doc="See `GetSplitMode` and `SetSplitMode`");
+ %property(Window1, GetWindow1, doc="See `GetWindow1`");
+ %property(Window2, GetWindow2, doc="See `GetWindow2`");
};
+
+
DocStr(wxSplitterEvent,
"This class represents the events generated by a splitter control.", "");
"Returns the y coordinate of the double-click point in a
EVT_SPLITTER_DCLICK event.", "");
+ %property(SashPosition, GetSashPosition, SetSashPosition, doc="See `GetSashPosition` and `SetSashPosition`");
+ %property(WindowBeingRemoved, GetWindowBeingRemoved, doc="See `GetWindowBeingRemoved`");
+ %property(X, GetX, doc="See `GetX`");
+ %property(Y, GetY, doc="See `GetY`");
};