Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # NOTE: Derived from ../blib/lib/Tk/Scale.pm. |
2 | # Changes made here will be lost when autosplit is run again. | |
3 | # See AutoSplit.pm. | |
4 | package Tk::Scale; | |
5 | ||
6 | #line 189 "../blib/lib/Tk/Scale.pm (autosplit into ../blib/lib/auto/Tk/Scale/EndDrag.al)" | |
7 | # EndDrag -- | |
8 | # This procedure is called to end an interactive drag of the | |
9 | # slider. It just marks the drag as over. | |
10 | # Arguments: | |
11 | # w - The scale widget. | |
12 | sub EndDrag | |
13 | { | |
14 | my $w = shift; | |
15 | if (!$Tk::dragging) | |
16 | { | |
17 | return; | |
18 | } | |
19 | $Tk::dragging = 0; | |
20 | } | |
21 | ||
22 | # end of Tk::Scale::EndDrag | |
23 | 1; |