Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Tcl::Tk exit

by Sandy (Curate)
on May 24, 2017 at 19:03 UTC ( [id://1191134]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Tk;
    my $mw = MainWindow->new(-title=>"hello world");
    $mw->Label(-text=>"hello")->pack();
    $mw->Button(-text=>"Exit",-command=>sub{exit})->pack();
    MainLoop;
    
  2. or download this
    use Tcl::Tk;
    my $int = new Tcl::Tk;
    ...
    $mw->Label( -text => "Hello World!" )->pack();
    $mw->Button( -text => "Exit", -command => sub { exit } )->pack();
    $int->MainLoop;
    
  3. or download this
    perl5.18 quit unexpectedly while using the Tk plug-in.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1191134]
Approved by sweetblood
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-26 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found