Help for this page

Select Code to Download


  1. or download this
    use Tk;
    my $mw = new MainWindow;
    ...
    # If below line is commented out, program works.
    $mw->FullScreen(1);
    MainLoop;
    
  2. or download this
    use Tk;
    my $mw = new MainWindow;
    ...
    $tl->bind('all' => '<Key-Escape>' => sub {exit;});
    $tl->FullScreen(1);
    MainLoop;