X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a8c7620763844fe58f16542a0400e1da68d88d2..68d411dc5724b9284455a31ef8a8d6d99c18d224:/docs/latex/wx/slider.tex diff --git a/docs/latex/wx/slider.tex b/docs/latex/wx/slider.tex index 7d0d391050..6723277012 100644 --- a/docs/latex/wx/slider.tex +++ b/docs/latex/wx/slider.tex @@ -36,24 +36,7 @@ Slider events are handled in the same way as a scrollbar. See also \helpref{window styles overview}{windowstyles}. -\wxheading{Event handling} - -To process input from a slider, use one of these event handler macros to direct input to member -functions that take a \helpref{wxScrollEvent}{wxscrollevent} argument: - -\twocolwidtha{7cm} -\begin{twocollist} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL(id, func)}}{Catch all scroll commands.} -\twocolitem{{\bf EVT\_COMMAND\_TOP(id, func)}}{Catch a command to put the scroll thumb at the maximum position.} -\twocolitem{{\bf EVT\_COMMAND\_BOTTOM(id, func)}}{Catch a command to put the scroll thumb at the maximum position.} -\twocolitem{{\bf EVT\_COMMAND\_LINEUP(id, func)}}{Catch a line up command.} -\twocolitem{{\bf EVT\_COMMAND\_LINEDOWN(id, func)}}{Catch a line down command.} -\twocolitem{{\bf EVT\_COMMAND\_PAGEUP(id, func)}}{Catch a page up command.} -\twocolitem{{\bf EVT\_COMMAND\_PAGEDOWN(id, func)}}{Catch a page down command.} -\twocolitem{{\bf EVT\_COMMAND\_THUMBTRACK(id, func)}}{Catch a thumbtrack command (continuous movement of the scroll thumb).} -\twocolitem{{\bf EVT\_SLIDER(id, func)}}{Process a wxEVT\_COMMAND\_SLIDER\_UPDATED event, -when the slider is moved. Though provided for backward compatibility, this is obsolete.} -\end{twocollist}% +\input scrolevt.inc \wxheading{See also} @@ -61,7 +44,7 @@ when the slider is moved. Though provided for backward compatibility, this is ob \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxSlider::wxSlider}\label{wxsliderconstr} +\membersection{wxSlider::wxSlider}\label{wxsliderctor} \func{}{wxSlider}{\void} @@ -100,7 +83,7 @@ Constructor, creating and showing a slider. \helpref{wxSlider::Create}{wxslidercreate}, \helpref{wxValidator}{wxvalidator} -\membersection{wxSlider::\destruct{wxSlider}} +\membersection{wxSlider::\destruct{wxSlider}}\label{wxsliderdtor} \func{void}{\destruct{wxSlider}}{\void} @@ -135,7 +118,7 @@ Windows 95 only. \param{const wxValidator\& }{validator = wxDefaultValidator},\rtfsp \param{const wxString\& }{name = ``slider"}} -Used for two-step slider construction. See \helpref{wxSlider::wxSlider}{wxsliderconstr}\rtfsp +Used for two-step slider construction. See \helpref{wxSlider::wxSlider}{wxsliderctor}\rtfsp for further details. \membersection{wxSlider::GetLineSize}\label{wxslidergetlinesize}