Name
qvslider — vertical slider
Syntax
qvslider min max [ cmds ...]
Description
The qvslider command creates a vertical QSlider object. This is a handle that can be dragged up or down in a stepwise manner. If a callback command is given it will be executed when the slider value changes.
The slider may have its tracking capability set to '1' or '0' using the qsettracking command. A slider that has its tracking enabled will invoke the callback command continously throughout the drag. If tracking is disabled, the callback command will be invoked only when the user releases the mouse button. Tracking is enabled by default.
The slider may have tick marks in various locations (see the qsettickposition command for details).
Sliders may have their value set programmatically using qsetvalue.
See qhslider for examples on how to create sliders.
Arguments
min max
The minimum and maximum value for the slider. These must be integers.
cmds
One or more callback commands. These are invoked whenever the slider handle is dragged. The new value is appended to the callback command before evaluation. It is the programmers responsibility to ensure that the resulting command is a valid Tcl command.