Skip to content
Tcl Source Code View Ticket
Login

View Ticket

window does not resize on X11/OS X

Closed / Invalid893132ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-02-09 00:57:54
If I run this script on any platform, other than the
X11 port for Mac OS X, the window resizes each time the
"bigger" button is pressed. On OS X -- X11 (not aqua),
I need to stick a 
     wm geometry . {} 
command into the proc to get the window to resize

proc makemore {num} {
    eval destroy [winfo children .1]
    for {set i 0} {$i < $num} {incr i} {
        grid [entry .1.$i] -column 1 -row $i
    }
    grid [button .1.b -text bigger \
         -command [list makemore [expr $num + 4]] \
             ] -column 1 -row $i
}
 
pack [frame .1]
makemore 5                                            
                         

OS: Mac 10.2.8
Tcl/Tk 8.4.1-2 (current Fink version)
dgpplain2004-03-31 01:02:24
Logged In: YES 
user_id=80530


Looks like this is really a Tk Bug.

Should be re-filed with the tktoolkit
project, probably in the Mac OS X
Window Operations category.
dasplain2004-04-01 10:06:28
Logged In: YES 
user_id=90580

it looks like this is an X11 bug related to the quartz X11 window 
manager; and not related to the Aqua port, so it should probably 
go into "Unix Window Operations"
Log in (anonymous is fine) to add a comment.