#!/usr/bin/perl use warnings; use strict; use Tk; my $mw = MainWindow->new; $mw->geometry("500x200"); $mw->title("Hello User"); $mw->Label(-text => 'Hello user, please Load the required fileand then + press ok')->pack(); $mw->Button(-text => "OK", -command =>sub{$mw->destroy})->pack(); MainLoop; print "continue program here after exiting dialog box\n";
In reply to Re: How to create a dialog box with perl/Tk that does not end your script?
by tybalt89
in thread How to create a dialog box with perl/Tk that does not end your script?
by ankit.tayal560
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |