Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Making a button execute a command: Tk

by eff_i_g (Curate)
on Jan 12, 2007 at 22:00 UTC ( [id://594469]=note: print w/replies, xml ) Need Help??


in reply to Making a button execute a command: Tk

At that very moment when being defined, or later, when called? Have you tried an anonymous sub?
-command => sub { $number=$number==0||$equals!=0?$input:$number.$input + },
Update: See the docs @ Tk::Button and follow the "Perl/Tk callback" link.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594469]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found