Skip to content
Tcl Source Code View Ticket
Login

View Ticket

set wm geometry fails from a script

Closed / Invalid43c7836105381e643fe62c772fa2f1c6f5e2b5bcCreated 13 years agoUpdated 13 years ago
Descriptionplain2014-02-17 23:21:31
Version #1 SMP Mon Nov 11 03:23:58 EST 2013

All my widgets started popping up at +0+0 a while back. I have a simple example that fails on my Linux.

-----------------------------
#!/bin/sh
# \
exec /usr/bin/wish "$0" ${1+"$@"}

wm geometry . 300x200+500+200
wm title . "The tk_wm problem!"
------------------------------

This window pops ups at +0+0.


However, the above commands work from a wish command line, as follows:

Linux -> /usr/bin/wish
% wm geometry . 300x200+500+200
% wm title . "The tk_wm problem!"

This window pops up at +500+200.
dkfwiki2014-02-18 07:02:10

Did you mean to file this ticket at http://core.tcl.tk/tk/tktnew?

dkfwiki2014-02-18 07:07:37
Log in (anonymous is fine) to add a comment.