in reply to Re: Functions and Tk
in thread Functions and Tk
$win->Button(...-command=> sub {$win->destory} )... Works great, but I would like to have the sub work.Tk::Error AUTOLOAD 'Tk::Toplevel::destory' at line 97 Carp::croak at C:/usr/lib/Carp.pm line 191 Tk::Widget::__ANON__ at C:/usr/lib/Tk/Widget.pm line 338 main::Exit_Win at line 97 main::__ANON at line 82 [\&main::__ANON__ at line 82 Tk callback for .toplevel.frame2.button1 Tk::__ANON__ at C:/usr/lib/Tk.pm line 228 Tk::Button::butUp at C:/usr/lib/Tk/Button.pm line 111 [command bound to event]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Functions and Tk
by bobn (Chaplain) on Aug 24, 2003 at 02:59 UTC | |
by surrealistfashion (Acolyte) on Aug 24, 2003 at 03:10 UTC | |
|
Re: Re: Re: Functions and Tk
by converter (Priest) on Aug 24, 2003 at 03:08 UTC | |
by surrealistfashion (Acolyte) on Aug 24, 2003 at 03:18 UTC |