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 | ||||
---|---|---|---|---|
| ||||
set w [qwidget]
qsetwindowtitle Slider
set layout [qvboxlayout $w]
set slider [qhslider 1 10 puts]
qsettickposition both
qsettracking 0
qaddwidget $layout $slider
qshow $w
|
...