home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / tcl / 1886 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.1 KB

  1. Path: sparky!uunet!utcsri!relay.cs.toronto.edu!wotan.ai.toronto.edu!ai.toronto.edu!kramer
  2. Newsgroups: comp.lang.tcl
  3. From: kramer@cs.toronto.edu ("Bryan M. Kramer")
  4. Subject: Re: raising windows
  5. Message-ID: <92Nov19.090819est.133346@wotan.ai.toronto.edu>
  6. Organization: Department of Computer Science, University of Toronto
  7. References: <92Nov18.152655est.133121@wotan.ai.toronto.edu>
  8. Date: 19 Nov 92 14:08:39 GMT
  9. Lines: 23
  10.  
  11. kramer@cs.toronto.edu (Bryan M Kramer) writes:
  12.  
  13. >Is there a way of raising a window (i.e. bringing it in front of all
  14. >others) in tk2.3. It would be something like
  15.  
  16. >wm front .
  17. >or 
  18. >wm raise .
  19.  
  20. A solution proposed by Michael Moore <mdm@cis.ohio-state.edu>
  21. consisting of the sequence 
  22.  
  23. wm withdraw .
  24. wm deiconify .
  25.  
  26. does the trick more or less. One potential problem is that (at least
  27. in the case of olvwm, if the user has moved the window using the
  28. mouse, the window comes back raised in its original position.
  29.  
  30. |Bryan M. Kramer, Ph.D.          416-978-7330, fax 416-978-1455|
  31. |Department of Computer Science, University of Toronto      |
  32. |6 King's College Road, Room 283E                |
  33. |Toronto, Ontario, Canada      M5S 1A4                      |
  34.