in reply to Re: "Segmentation fault after destroying window"
in thread "Segmentation fault after destroying window"
This works without getting a segmentation fault:
sub service_for_mw_button_press { my ($mw) = shift; my $top_level = $mw->Toplevel
and then later, when I no longer need the $top_level,
$top_level->destroy; undef($top_level); $mw->deiconify; $mw_raise;
This idea, plus a redesign to make the real program an event driven
design from the beginning, should do the job. Thanks for all of your
help.
|
|---|