Subject: | overrideredirect on macOS |
Date: | Mon, 14 Oct 2019 19:44:49 +0200 |
To: | bug-Tcl-pTk [...] rt.cpan.org |
From: | ray sakamoto <raysakamoto2019 [...] gmail.com> |
Not quite sure it is a bad of the module, but override direct seem not to
work properly, as the following demonstrates (at least on macOS):
$mw->overrideredirect(0)
has no influence on the Main Window
use Tcl::pTk;
my $mw = MainWindow->new();
$mw->ttkButton(-text =>"Set override",
-command=>sub{$mw->overrideredirect(1);})->pack();
$mw->ttkButton(-text =>"Reset override",
-command=>sub{$mw->overrideredirect(0);})->pack();
MainLoop;