home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bmerh85!bnr.ca!mpm
- From: mpm@bnr.ca (Mike Mogridge)
- Subject: *geometry: specification grief
- Message-ID: <1992Aug31.191027.10961@bmerh85.bnr.ca>
- Sender: news@bmerh85.bnr.ca (Usenet News)
- Organization: Bell-Northern Research, Ottawa, Canada
- Date: Mon, 31 Aug 92 19:10:27 GMT
- Lines: 33
-
- I've been running our Tk based application for months now with no problems ...
- until now. The problem is a *geometry: +5+64 specification that gets loaded
- into the X server by another application. If after this has occurred someone
- runs our Tk application, prost, we get the following error:
-
- bad geometry "+5+64": expected widthxheight
- while executing
- "frame .menu -relief raised -borderwidth 0"
- (file "/usr/lab/bin/prost" line 1531)
- invoked from within
- "source /usr/lab/bin/prost"
-
- I've been told geometry specifications of this form are valid (ie. to simply
- position windows). So what should I do? Can I
- a) get our Tk application to ignore this specification somehow?
- b) explicitly set something via the option add ... Tk command?
-
- We're running tk1.4 (yeah I know 2.3 is available but 1.4 works great for what
- we need; is the version the problem?)
-
- Modifying the other application to remove the offending geometry specification
- is *not* an option.
-
- Any help would be appreciated.
- Thanks,
- Mike.
- --
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- > Mike Mogridge | "Just once I wish we could encounter an <
- > Bell-Northern Research Ltd. | alien menace that wasn't immune to bullets."<
- > P.O. Box 3511 Station C | -The Brigadier, Doctor Who. <
- > Ottawa, ONT, Canada K1Y 4H7 | INTERNET: mpm@bnr.ca <
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-