summaryrefslogtreecommitdiff
path: root/Master/perltl/site/lib/auto/Tk/Clipboard/getSelected.al
blob: 99d70ee5d76c11c70554c6dc5ced887bb20ec254 (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 103 "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