X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd56228c02bcb9fe27df56e3e95c2791f1b68a86..5a20d2ced0a0779b5d8b1cc8064f8404b2727e92:/docs/latex/wx/scrolbar.tex diff --git a/docs/latex/wx/scrolbar.tex b/docs/latex/wx/scrolbar.tex index a9fba5aa2a..fc07f50877 100644 --- a/docs/latex/wx/scrolbar.tex +++ b/docs/latex/wx/scrolbar.tex @@ -59,7 +59,8 @@ See also \helpref{window styles overview}{windowstyles}. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxScrollBar::wxScrollBar}\label{wxscrollbarconstr} + +\membersection{wxScrollBar::wxScrollBar}\label{wxscrollbarctor} \func{}{wxScrollBar}{\void} @@ -74,7 +75,7 @@ Constructor, creating and showing a scrollbar. \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.} @@ -92,12 +93,14 @@ Constructor, creating and showing a scrollbar. \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 @@ -106,7 +109,8 @@ Destructor, destroying the scrollbar. \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} @@ -118,6 +122,7 @@ Returns the length of the scrollbar. \helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar} + \membersection{wxScrollBar::GetPageSize}\label{wxscrollbargetpagesize} \constfunc{int}{GetPageSize}{\void} @@ -130,6 +135,7 @@ same as the thumb size. \helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar} + \membersection{wxScrollBar::GetThumbPosition}\label{wxscrollbargetthumbposition} \constfunc{int}{GetThumbPosition}{\void} @@ -140,9 +146,10 @@ Returns the current position of the scrollbar thumb. \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. @@ -151,6 +158,7 @@ Returns the thumb or `view' size. \helpref{wxScrollBar::SetScrollbar}{wxscrollbarsetscrollbar} \begin{comment} + \membersection{wxScrollBar::SetObjectLength}\label{wxscrollbarsetobjectlength} \func{void}{SetObjectLength}{\param{int}{ objectLength}} @@ -176,6 +184,7 @@ contents (the object length). \helpref{wxScrollBar::GetObjectLength}{wxscrollbargetobjectlength} + \membersection{wxScrollBar::SetPageSize}\label{wxscrollbarsetpagesize} \func{void}{SetPageSize}{\param{int}{ pageSize}} @@ -196,6 +205,7 @@ At present, this needs to be called {\it before} other set functions. \helpref{wxScrollBar::GetPageSize}{wxscrollbargetpagesize} \end{comment} + \membersection{wxScrollBar::SetThumbPosition}\label{wxscrollbarsetthumbposition} \func{void}{SetThumbPosition}{\param{int}{ viewStart}} @@ -210,12 +220,13 @@ Sets the position of the scrollbar. \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{const bool }{refresh = true}} Sets the scrollbar properties. @@ -231,7 +242,7 @@ 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} @@ -266,7 +277,9 @@ from a \helpref{wxSizeEvent}{wxsizeevent} event handler function. \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}}