From e4bbf3c2b944352e40055eb69862cc00571447ae Mon Sep 17 00:00:00 2001 From: "Unknown (BV)" Date: Thu, 20 May 1999 04:24:14 +0000 Subject: [PATCH 1/1] Added the rest of the wxSplitterEvent class interface docs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/splitevt.tex | 66 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 3 deletions(-) diff --git a/docs/latex/wx/splitevt.tex b/docs/latex/wx/splitevt.tex index c525bcafe2..74095f57b8 100644 --- a/docs/latex/wx/splitevt.tex +++ b/docs/latex/wx/splitevt.tex @@ -22,7 +22,8 @@ functions that take a wxSplitterEvent argument. \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_SPLITTER\_SASH\_POS\_CHANGED(id, func)} {The sash position was changed. May be used to prevent the change from - taking place. Processes wxEVT\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED event.} + taking place or to modify the proposed sash position. Processes + wxEVT\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED event.} \twocolitem{{\bf EVT\_SPLITTER\_UNSPLIT(id, func)}} {The splitter has been just unsplit. Processes wxEVT\_COMMAND\_SPLITTER\_UNSPLIT event.} @@ -35,7 +36,8 @@ functions that take a wxSplitterEvent argument. \wxheading{See also} -\helpref{wxSplitterWindow}{wxsplitterwindow} +\helpref{wxSplitterWindow}{wxsplitterwindow},\rtfsp +\helpref{Event handling overview}{eventhandlingoverview} \latexignore{\rtfignore{\wxheading{Members}}} @@ -46,4 +48,62 @@ functions that take a wxSplitterEvent argument. Constructor. Used internally by wxWindows only. -% TODO + +\membersection{wxSplitterWindow::SetSashPosition}\label{wxsplittereventsetsashposition} + +\func{void}{SetSashPosition}{\param{int}{pos}} + +Sets the new sash position. Set to -1 to prevent the sash from +repositioning. + +May only be called while processing +wxEVT\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED events. + +\wxheading{Paramters} + +\docparam{pos}{New sash position.} + + +\membersection{wxSplitterWindow::GetSashPosition}\label{wxsplittereventgetsashposition} + +\constfunc{int}{GetSashPosition}{\void} + +Returns the new sash position. + +May only be called while processing +wxEVT\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED events. + + +\membersection{wxSplitterWindow::GetWindowBeingRemoved}\label{wxsplittereventgetwindowbeingremoved} + +\constfunc{wxWindow*}{GetWindowBeingRemoved}{\void} + +Returns a pointer to the window being removed when a splitter window +is unsplit. + +May only be called while processing +wxEVT\_COMMAND\_SPLITTER\_UNSPLIT events. + + +\membersection{wxSplitterWindow::GetX}\label{wxsplittereventgetx} + +\constfunc{int}{GetX}{\void} + +Returns the x double-click point. + +May only be called while processing +wxEVT\_COMMAND\_SPLITTER\_DOUBLECLICKED events. + + +\membersection{wxSplitterWindow::GetY}\label{wxsplittereventgety} + +\constfunc{int}{GetY}{\void} + +Returns the y double-click point. + +May only be called while processing +wxEVT\_COMMAND\_SPLITTER\_DOUBLECLICKED events. + + + + -- 2.45.2