Contents Up Previous Next

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.

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.