diff options
Diffstat (limited to 'Master/tlpkg/tlperl.straw/lib/auto/Tk/Scale/Leave.al')
-rwxr-xr-x | Master/tlpkg/tlperl.straw/lib/auto/Tk/Scale/Leave.al | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl.straw/lib/auto/Tk/Scale/Leave.al b/Master/tlpkg/tlperl.straw/lib/auto/Tk/Scale/Leave.al new file mode 100755 index 00000000000..eb6f7b69f89 --- /dev/null +++ b/Master/tlpkg/tlperl.straw/lib/auto/Tk/Scale/Leave.al @@ -0,0 +1,15 @@ +# NOTE: Derived from ..\blib\lib\Tk\Scale.pm. +# Changes made here will be lost when autosplit is run again. +# See AutoSplit.pm. +package Tk::Scale; + +#line 111 "..\blib\lib\Tk\Scale.pm (autosplit into ..\blib\lib\auto\Tk\Scale\Leave.al)" +sub Leave +{ + my ($w) = @_; + $w->configure('-activebackground',$w->{'activeBg'}) if ($Tk::strictMotif); + $w->configure('-state','normal') if ($w->cget('-state') eq 'active'); +} + +# end of Tk::Scale::Leave +1; |