gammaman64
Programmer
Is there a way to create a new MainWindow, by destroying
another one?
another one?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
my $mw = MainWindow->new (
-title => 'Main Window',
);
# create a new window
my $child = $mw->Toplevel (
-title => 'Another window',
);
# and a new one?
my $another_child = $mw->Toplevel (
-title => 'Yet another window',
);
# hide
$window->withdraw;
# show again
$window->deiconify;