Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # NOTE: Derived from ../blib/lib/Tk/Scrollbar.pm. |
2 | # Changes made here will be lost when autosplit is run again. | |
3 | # See AutoSplit.pm. | |
4 | package Tk::Scrollbar; | |
5 | ||
6 | #line 76 "../blib/lib/Tk/Scrollbar.pm (autosplit into ../blib/lib/auto/Tk/Scrollbar/Enter.al)" | |
7 | sub Enter | |
8 | { | |
9 | my $w = shift; | |
10 | my $e = $w->XEvent; | |
11 | if ($Tk::strictMotif) | |
12 | { | |
13 | my $bg = $w->cget('-background'); | |
14 | $activeBg = $w->cget('-activebackground'); | |
15 | $w->configure('-activebackground' => $bg); | |
16 | } | |
17 | $w->activate($w->identify($e->x,$e->y)); | |
18 | } | |
19 | ||
20 | # end of Tk::Scrollbar::Enter | |
21 | 1; |