blob: 83ec70ed8037fc8a9919956282ad4a7732393215 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# NOTE: Derived from blib\lib\Tk\Frame.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Tk::Frame;
#line 182 "blib\lib\Tk\Frame.pm (autosplit into blib\lib\auto\Tk\Frame\label.al)"
sub label
{
my ($cw,$val) = @_;
my $var = $cw->cget('-labelVariable');
if (@_ > 1 && defined $val)
{
if (!defined $var)
{
$var = \$cw->{Configure}{'-label'};
$cw->labelVariable($var);
}
$$var = $val;
}
return (defined $var) ? $$var : undef;;
}
# end of Tk::Frame::label
1;
|