summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl.straw/lib/auto/Tk/Clipboard/getSelected.al
blob: 44ba7b74bf081d49b0444d81078d2270951a43d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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