<wx/scrolbar.h>
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{Remarks}
A scrollbar has the following main attributes: {\it range}, {\it thumb size}, {\it page size}, and {\it position}.
\latexignore{\rtfignore{\wxheading{Members}}}
-\membersection{wxScrollBar::wxScrollBar}\label{wxscrollbarconstr}
+
+\membersection{wxScrollBar::wxScrollBar}\label{wxscrollbarctor}
\func{}{wxScrollBar}{\void}
\wxheading{Parameters}
-\docparam{parent}{Parent window. Must not be NULL.}
+\docparam{parent}{Parent window. Must be non-NULL.}
\docparam{id}{Window identifier. A value of -1 indicates a default value.}
\helpref{wxScrollBar::Create}{wxscrollbarcreate}, \helpref{wxValidator}{wxvalidator}
-\membersection{wxScrollBar::\destruct{wxScrollBar}}
+
+\membersection{wxScrollBar::\destruct{wxScrollBar}}\label{wxscrollbardtor}
\func{void}{\destruct{wxScrollBar}}{\void}
Destructor, destroying the scrollbar.
+
\membersection{wxScrollBar::Create}\label{wxscrollbarcreate}
\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id},\rtfsp
\param{const wxString\& }{name = ``scrollBar"}}
Scrollbar creation function called by the scrollbar constructor.
-See \helpref{wxScrollBar::wxScrollBar}{wxscrollbarconstr} for details.
+See \helpref{wxScrollBar::wxScrollBar}{wxscrollbarctor} for details.
+
\membersection{wxScrollBar::GetRange}\label{wxscrollbargetrange}
\helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar}
+
\membersection{wxScrollBar::GetPageSize}\label{wxscrollbargetpagesize}
\constfunc{int}{GetPageSize}{\void}
\helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar}
+
\membersection{wxScrollBar::GetThumbPosition}\label{wxscrollbargetthumbposition}
\constfunc{int}{GetThumbPosition}{\void}
\helpref{wxScrollBar::SetThumbPosition}{wxscrollbarsetthumbposition}
-\membersection{wxScrollBar::GetThumbLength}\label{wxscrollbargetthumblength}
-\constfunc{int}{GetThumbLength}{\void}
+\membersection{wxScrollBar::GetThumbSize}\label{wxscrollbargetthumbsize}
+
+\constfunc{int}{GetThumbSize}{\void}
Returns the thumb or `view' size.
\helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar}
\begin{comment}
+
\membersection{wxScrollBar::SetObjectLength}\label{wxscrollbarsetobjectlength}
\func{void}{SetObjectLength}{\param{int}{ objectLength}}
\helpref{wxScrollBar::GetObjectLength}{wxscrollbargetobjectlength}
+
\membersection{wxScrollBar::SetPageSize}\label{wxscrollbarsetpagesize}
\func{void}{SetPageSize}{\param{int}{ pageSize}}
\helpref{wxScrollBar::GetPageSize}{wxscrollbargetpagesize}
\end{comment}
+
\membersection{wxScrollBar::SetThumbPosition}\label{wxscrollbarsetthumbposition}
\func{void}{SetThumbPosition}{\param{int}{ viewStart}}
\helpref{wxScrollBar::GetThumbPosition}{wxscrollbargetthumbposition}
+
\membersection{wxScrollBar::SetScrollbar}\label{wxscrollbarsetscrollbar}
\func{virtual void}{SetScrollbar}{\param{int }{position},\rtfsp
\param{int }{thumbSize}, \param{int }{range},\rtfsp
\param{int }{pageSize},\rtfsp
-\param{const bool }{refresh = TRUE}}
+\param{bool }{refresh = true}}
Sets the scrollbar properties.
the scrollbar will scroll when it is paged up or down. Often it is the same as
the thumb size.}
-\docparam{refresh}{TRUE to redraw the scrollbar, FALSE otherwise.}
+\docparam{refresh}{true to redraw the scrollbar, false otherwise.}
\wxheading{Remarks}
\helpref{Scrolling overview}{scrollingoverview},\rtfsp
\helpref{wxWindow::SetScrollbar}{wxwindowsetscrollbar}, \helpref{wxScrolledWindow}{wxscrolledwindow}
+
\begin{comment}
+
\membersection{wxScrollBar::SetViewLength}\label{wxscrollbarsetviewlength}
\func{void}{SetViewLength}{\param{int}{ viewLength}}