Construct a slider widget.
slider(parent, initial = 1, from = 0, to = 100, orient = "horizontal")
| parent | the parent window |
|---|---|
| initial | the initial values of the sliders |
| from | minimum slider values |
| to | maximum slider value |
| orient | slider orientation |
Returns an object of class slider with elements
windowthe widget
selectedfunction that returns the state of the sliders
statethe tclVars representing the state of the sliders
The slider function creates a widget containing a single
horizontal slider.