wxSlider::wxSlider
A slider is, as its name suggests, an item with a handle which can be pulled back and forth to change a value. It is currently horizontal only. In Windows 3, a scrollbar is used to simulate the slider.
voidwxSliderwxPanel *parent, wxFunction func, char *label,
int value, int min_value, int max_value, int width, int x = -1, int y = -1
Constructor, creating and showing a horizontal slider. The width is in pixels, and the scroll increment will be adjusted to a suitable value given the minimum and maximum integer values.
wxSlider::wxSlider
voidwxSlider
Destructor, destroying the slider.
wxSlider::GetValue
intGetValue
Gets the current slider value.
wxSlider::SetValue
voidSetValueint value
Sets the value (and displayed position) of the slider).