wxScrollBar
Implements methods from the following classes
wxControl
Methods
wxScrollBar
Constructor, creating and showing a scrollbar.
Create
Scrollbar creation function called by the scrollbar constructor.
GetPageSize
Returns the page size of the scrollbar.
GetRange
Returns the length of the scrollbar.
GetThumbPosition
Returns the current position of the scrollbar thumb.
GetThumbSize
Returns the thumb or 'view' size.
SetScrollbar
Sets the scrollbar properties.
SetThumbPosition
Sets the position of the scrollbar.
Static Methods
wxScrollBar
wxScrollBar
(
wxWindow
&
$parent
,
integer
$id
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxSB_HORIZONTAL
,
wxValidator
$validator
=
wxDefaultValidator
,
string
$name
=
wxScrollBarNameStr
)
Constructor, creating and showing a scrollbar.
wxScrollBar
( )
Default constructor.
Create
bool
Create
(
wxWindow
&
$parent
,
integer
$id
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxSB_HORIZONTAL
,
wxValidator
$validator
=
wxDefaultValidator
,
string
$name
=
wxScrollBarNameStr
)
Scrollbar creation function called by the scrollbar constructor.
GetPageSize
integer
GetPageSize
( )
Returns the page size of the scrollbar.
GetRange
integer
GetRange
( )
Returns the length of the scrollbar.
GetThumbPosition
integer
GetThumbPosition
( )
Returns the current position of the scrollbar thumb.
GetThumbSize
integer
GetThumbSize
( )
Returns the thumb or 'view' size.
SetScrollbar
SetScrollbar
(
integer
$position
,
integer
$thumbSize
,
integer
$range
,
integer
$pageSize
,
bool
$refresh
=
true
)
Sets the scrollbar properties.
SetThumbPosition
SetThumbPosition
(
integer
$viewStart
)
Sets the position of the scrollbar.