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
window
the widget
selected
function that returns the state of the sliders
state
the tclVars representing the state of the sliders
The slider
function creates a widget containing a single
horizontal slider.