diff options
Diffstat (limited to 'Master/perltl/site/lib/auto/Tk/Scrollbar/Enter.al')
-rw-r--r-- | Master/perltl/site/lib/auto/Tk/Scrollbar/Enter.al | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/perltl/site/lib/auto/Tk/Scrollbar/Enter.al b/Master/perltl/site/lib/auto/Tk/Scrollbar/Enter.al new file mode 100644 index 00000000000..45a21f920e5 --- /dev/null +++ b/Master/perltl/site/lib/auto/Tk/Scrollbar/Enter.al @@ -0,0 +1,21 @@ +# NOTE: Derived from ..\blib\lib\Tk\Scrollbar.pm. +# Changes made here will be lost when autosplit is run again. +# See AutoSplit.pm. +package Tk::Scrollbar; + +#line 76 "..\blib\lib\Tk\Scrollbar.pm (autosplit into ..\blib\lib\auto\Tk\Scrollbar\Enter.al)" +sub Enter +{ + my $w = shift; + my $e = $w->XEvent; + if ($Tk::strictMotif) + { + my $bg = $w->cget('-background'); + $activeBg = $w->cget('-activebackground'); + $w->configure('-activebackground' => $bg); + } + $w->activate($w->identify($e->x,$e->y)); +} + +# end of Tk::Scrollbar::Enter +1; |