wxSlider is-a wxItem
A slider is a panel item for denoting a range of values. It must be a child of
a panel or dialog box.
wxSlider min
wxSlider max
wxSlider value
wxSlider create
wxSlider min
int min
The slider minimum value.
wxSlider max
int max
The slider maximum value.
wxSlider value
int value
The value of the slider (set-value and get-value can be called after
initialization).
wxSlider create
long ( create)
Creates a horizontal slider item on the given panel or dialog box. The
following slots may be initialized.
- parent: should be a wxPanel or wxDialogBox.
- x: may be absent or -1 to denote default layout, or zero/positive integer.
- y: may be absent or -1 to denote default layout, or zero/positive integer.
- width: may be absent or -1 to denote default width, or a positive integer.
- height: may be absent or -1 to denote default height, or a positive integer.
- window-name: may be absent or a string name to identify this item.
- label: may be absent or a string name to label this item.
- style: a bit list of values (see below).
- value: an integer for initializing the value of the sider.
- min: the minimum value (zero or greater).
- max: the maximum value (1 or greater).
style is a bit list of the following:
wxHORIZONTAL
|
The item will be created as a horizontal slider.
|
wxVERTICAL
|
The item will be created as a vertical slider.
|