Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Unknown macro: {alias}

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

Unknown macro: {indent}

The minimum and maximum value for the slider. These must be integers.

cmds

Unknown macro: {indent}

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.

  • No labels