Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{alias:qvslider}

Name

qvslider — vertical slider

...

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.