home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / tcl / 1887 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!wupost!calvin.sbc.com!gwj
  3. From: gwj@sbctri.sbc.com (Gregg W. Jensen)
  4. Subject: possible canvas help
  5. Message-ID: <1992Nov19.140220.14347@sbctri.sbc.com>
  6. Organization: Southwestern Bell Technology Resources, St.Louis, MO
  7. Date: Thu, 19 Nov 92 14:02:20 GMT
  8. Lines: 16
  9.  
  10.  
  11. For all the tk gurus...
  12. I need to have a picture of a map laid out in a window (a canvas one?) and be
  13. able to place points on top of the map with lines between the points.  Next
  14. I need to be able to click on the line and bring up say another window with 
  15. info about what the line represents.  Also, I need to click on the points and
  16. have them bring up another window that may be another picture representation
  17. of what the point represents.  My initial gut feel is to use the canvas widget
  18. and draw the things on it (I haven't used tk in this way so maybe I am missing
  19. something).  I would like to get some pointers on how this might be
  20. accomplished (source code for something similar would be wonderful).
  21.  
  22. Thanks, Gregg
  23. ---
  24. This is a new address for me so if mail bounces try to send it to:
  25. gj9362@smaug.sbc.com or gj9362%smaug.sbc.com@texbell.sbc.com
  26.