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

  1. Path: sparky!uunet!hela.iti.org!usc!cs.utexas.edu!news-is-not-mail
  2. From: capo@cs.utexas.edu (Charles Read)
  3. Newsgroups: comp.lang.tcl
  4. Subject: pathname of toplevel window in Tk
  5. Date: 16 Nov 1992 19:14:12 -0600
  6. Organization: CS Dept, University of Texas at Austin
  7. Lines: 17
  8. Message-ID: <1e9h14INN3e4@im4u.cs.utexas.edu>
  9. NNTP-Posting-Host: im4u.cs.utexas.edu
  10. Keywords: toplevel pathname Tk
  11.  
  12. version of Tk:  2.3
  13.  
  14. Is it possible to obtain the pathname
  15. of a toplevel window whose menu (or one
  16. of whose children's menus) has most
  17. recently been activated?
  18.  
  19. The man page for canvas maintains a "current" 
  20. variable that describes what Item in a canvas
  21. presently lies under the mouse-cursor. This
  22. suggests that somewhere in Tk the current 
  23. toplevel window is known. But is the pathname
  24. of this window accessible from the command-line
  25. interface?
  26.  
  27. -c
  28.  
  29.