1 \section{\class{wxSplitterEvent
}}\label{wxsplitterevent
}
3 This class represents the events generated by a splitter control.
5 \wxheading{Derived from
}
7 \helpref{wxCommandEvent
}{wxcommandevent
}\\
8 \helpref{wxEvent
}{wxevent
}\\
9 \helpref{wxEvtHandler
}{wxevthandler
}\\
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Include files
}
16 \wxheading{Event table macros
}
18 To process a splitter event, use these event handler macros to direct input to member
19 functions that take a wxSplitterEvent argument.
22 \begin{twocollist
}\itemsep=
0pt
23 \twocolitem{{\bf EVT
\_SPLITTER\_SASH\_POS\_CHANGED(id, func)
}
24 {The sash position was changed. May be used to prevent the change from
25 taking place or to modify the proposed sash position. Processes
26 wxEVT
\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED event.
}
27 \twocolitem{{\bf EVT
\_SPLITTER\_UNSPLIT(id, func)
}}
28 {The splitter has been just unsplit. Processes wxEVT
\_COMMAND\_SPLITTER\_UNSPLIT
30 \twocolitem{{\bf EVT
\_SPLITTER\_DOUBLECLICKED(id, func)
}}
31 {The sash was double clicked. The default behaviour is to unsplit the
32 window when this happens (unless the minimum pane size has been set to a
33 value greater than zero). Processes wxEVT
\_COMMAND\_SPLITTER\_DOUBLECLICKED
39 \helpref{wxSplitterWindow
}{wxsplitterwindow
},
\rtfsp
40 \helpref{Event handling overview
}{eventhandlingoverview
}
42 \latexignore{\rtfignore{\wxheading{Members
}}}
44 \membersection{wxSplitterEvent::wxSplitterEvent
}\label{wxsplittereventconstr
}
46 \func{}{wxSplitterEvent
}{\param{wxEventType
}{ eventType = wxEVT
\_NULL},
47 \param{wxSplitterWindow *
}{ splitter = NULL
}}
49 Constructor. Used internally by wxWindows only.
52 \membersection{wxSplitterWindow::SetSashPosition
}\label{wxsplittereventsetsashposition
}
54 \func{void
}{SetSashPosition
}{\param{int
}{pos
}}
56 Sets the new sash position. Set to -
1 to prevent the sash from
59 May only be called while processing
60 wxEVT
\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED events.
64 \docparam{pos
}{New sash position.
}
67 \membersection{wxSplitterWindow::GetSashPosition
}\label{wxsplittereventgetsashposition
}
69 \constfunc{int
}{GetSashPosition
}{\void}
71 Returns the new sash position.
73 May only be called while processing
74 wxEVT
\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED events.
77 \membersection{wxSplitterWindow::GetWindowBeingRemoved
}\label{wxsplittereventgetwindowbeingremoved
}
79 \constfunc{wxWindow*
}{GetWindowBeingRemoved
}{\void}
81 Returns a pointer to the window being removed when a splitter window
84 May only be called while processing
85 wxEVT
\_COMMAND\_SPLITTER\_UNSPLIT events.
88 \membersection{wxSplitterWindow::GetX
}\label{wxsplittereventgetx
}
90 \constfunc{int
}{GetX
}{\void}
92 Returns the x double-click point.
94 May only be called while processing
95 wxEVT
\_COMMAND\_SPLITTER\_DOUBLECLICKED events.
98 \membersection{wxSplitterWindow::GetY
}\label{wxsplittereventgety
}
100 \constfunc{int
}{GetY
}{\void}
102 Returns the y double-click point.
104 May only be called while processing
105 wxEVT
\_COMMAND\_SPLITTER\_DOUBLECLICKED events.