Commit of 3.99.3 version
This commit is contained in:
+23
-12
@@ -280,40 +280,51 @@ Tk automatically creates class bindings for scales that give them
|
||||
the following default behavior.
|
||||
Where the behavior is different for vertical and horizontal scales,
|
||||
the horizontal behavior is described in parentheses.
|
||||
<OL>
|
||||
<LI>
|
||||
<P>
|
||||
<DL>
|
||||
<DT><A NAME="M46">{[1]}</A><DD>
|
||||
If button 1 is pressed in the trough, the scale's value will
|
||||
be incremented or decremented by the value of the <B>resolution</B>
|
||||
option so that the slider moves in the direction of the cursor.
|
||||
If the button is held down, the action auto-repeats.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M47">{[2]}</A><DD>
|
||||
If button 1 is pressed over the slider, the slider can be dragged
|
||||
with the mouse.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M48">{[3]}</A><DD>
|
||||
If button 1 is pressed in the trough with the Control key down,
|
||||
the slider moves all the way to the end of its range, in the
|
||||
direction towards the mouse cursor.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M49">{[4]}</A><DD>
|
||||
If button 2 is pressed, the scale's value is set to the mouse
|
||||
position. If the mouse is dragged with button 2 down, the scale's
|
||||
value changes with the drag.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M50">{[5]}</A><DD>
|
||||
The Up and Left keys move the slider up (left) by the value
|
||||
of the <B>resolution</B> option.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M51">{[6]}</A><DD>
|
||||
The Down and Right keys move the slider down (right) by the value
|
||||
of the <B>resolution</B> option.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M52">{[7]}</A><DD>
|
||||
Control-Up and Control-Left move the slider up (left) by the
|
||||
value of the <B>bigIncrement</B> option.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M53">{[8]}</A><DD>
|
||||
Control-Down and Control-Right move the slider down (right) by the
|
||||
value of the <B>bigIncrement</B> option.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M54">{[9]}</A><DD>
|
||||
Home moves the slider to the top (left) end of its range.
|
||||
<LI>
|
||||
<P>
|
||||
<DT><A NAME="M55">{[10]}</A><DD>
|
||||
End moves the slider to the bottom (right) end of its range.
|
||||
</OL>
|
||||
<P>
|
||||
</DL>
|
||||
<P>
|
||||
If the scale is disabled using the <B>state</B> option then
|
||||
none of the above bindings have any effect.
|
||||
|
||||
Reference in New Issue
Block a user