Versions Compared

Key

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

Name

qsettracking — enables continous mouse tracking in slider

...

Tracking is enabled by default.

Arguments

slider

An instance of qhslider or qvslider object.

0 | 1

A '1' or '0', which enables or disables tracking, respectively.

Examples

Ex.1: Set tracking

...

No Format
bgColor#eeeeee
borderWidth1

set w [qwidget]
qsetwindowtitle Slider
set layout [qvboxlayout $w]
set slider [qhslider 1 10 puts]
qsettickposition both
qsettracking 0
qaddwidget $layout $slider

qshow $w

...