No such thing as a small change | |
PerlMonks |
Re: Tk questionby batkins (Chaplain) |
on Nov 13, 2003 at 22:49 UTC ( [id://306959]=note: print w/replies, xml ) | Need Help?? |
You need to call destroy on the target widget. When you create the button, do something like this:
This will call ok($win) whenever the OK button is triggered (In general, \&ok is clearer than sub { ok() }). ok() then becomes:
Are you sure it was a book? Are you sure it wasn't.....nothing?
In Section
Seekers of Perl Wisdom
|
|