Debian Codegraph @

examples/icon

raw
1 #!/tools/local/perl -w
2 use Tk;
3 my $mw = MainWindow->new;
4 my $image = $mw->Photo('-file' => Tk->findINC("icon.gif"));
5 $mw->iconimage($image);
6 $mw->iconify;
7 MainLoop;