Don't you mean command => sub { $widget->destroy() }? Otherwise the widget will be destroyed when you declare the button, rather than when you click it.
- tye (but my friends call me "Tye")In reply to (tye)Re: Gui's being difficult
by tye
in thread Gui's being difficult
by ralfthewise
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |