import Tk
qw($XS_VERSION);
$VERSION = '3.004'; # $Id: //depot/Tk8/Compound/Compound.pm#4 $
Construct Tk
::Image
'Compound';
sub Tk_image
{ 'compound' }
my $leaf = $package->Tk_image;
$package->InitClass($widget);
my $obj = $widget->image(create
=> $leaf,@_,-window
=> $widget);
return bless($obj,$package);
foreach my $type (qw(line text image bitmap space))
my $meth = ucfirst($type);
*{$meth} = sub { shift->add($type,@_) };