in reply to Perl/Tk window->protocol question
so try-command => sub { numpress( $i ) } # equals -command => [ \&numpress, $i ]
$top->protocol( DELETE_WINDOW', [\&my_clean_up_routine, $top, $another_parameter] ); [download]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl/Tk window->protocol question
by mnooning (Beadle) on Mar 17, 2006 at 19:33 UTC |