Skip Menu |
 

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 6026
Status: open
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: dswartwout [...] cas.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: window still resizable after resizable(0,0)
Download (untitled) / with headers
text/plain 560b
When I run the following code with perl 5.8.3, Tk-804.027, the window allows itself to be resized. If I run the same code with perl 5.6.1 or 5.005_02, the window refuses to resize. On my system, 5.6.1 and 5.005_02 both use Tk-800.022. uname -a returns SunOS srv06 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Fire-880 Here is the program: use Tk; print "$Tk::VERSION\n"; $main = MainWindow->new; $main->resizable(0,0); my $button = $main->Button(-text=>'Exit demo',-command=>\&clicked)->pack(-padx=>8,-pady=>8); MainLoop; sub clicked { Tk::exit(0); }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.