diff options
Diffstat (limited to 'Master/tlpkg/tlperl.straw/lib/auto/Tk/Clipboard/getSelected.al')
-rwxr-xr-x | Master/tlpkg/tlperl.straw/lib/auto/Tk/Clipboard/getSelected.al | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl.straw/lib/auto/Tk/Clipboard/getSelected.al b/Master/tlpkg/tlperl.straw/lib/auto/Tk/Clipboard/getSelected.al new file mode 100755 index 00000000000..44ba7b74bf0 --- /dev/null +++ b/Master/tlpkg/tlperl.straw/lib/auto/Tk/Clipboard/getSelected.al @@ -0,0 +1,15 @@ +# NOTE: Derived from blib\lib\Tk\Clipboard.pm. +# Changes made here will be lost when autosplit is run again. +# See AutoSplit.pm. +package Tk::Clipboard; + +#line 115 "blib\lib\Tk\Clipboard.pm (autosplit into blib\lib\auto\Tk\Clipboard\getSelected.al)" +sub getSelected +{ + my $w = shift; + my $val = Tk::catch { $w->get('sel.first','sel.last') }; + return $val; +} + +1; +# end of Tk::Clipboard::getSelected |