home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / tcl / 1285 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.8 KB  |  44 lines

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