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

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!eco.twg.com!twg.com!news
  3. From: "David Herron" <david@twg.com>
  4. Subject: Re: tk-style interface to other windowing systems
  5. Message-ID: <1992Aug31.214206.3096@twg.com>
  6. Sensitivity: Personal
  7. Encoding:  27 TEXT 
  8. Sender: news@twg.com (USENET News System)
  9. Conversion: Prohibited
  10. Organization: The Wollongong Group, Inc., Palo Alto, CA
  11. Conversion-With-Loss: Prohibited
  12. Date: Mon, 31 Aug 1992 21:44:44 GMT
  13. Lines: 27
  14.  
  15. [My long posting deleted ...]
  16.  
  17. joe@athena.mit.edu (Joseph C Wang) writes:
  18.  
  19. > Do 1), and then write a Tk initialization file so that MS-Windows
  20. > emulation is done in Tk instead on in C-code.  The advantage is that
  21. > you have the functionality of 2) with only the work of 1).  For one
  22. > thing, if you do things this way, you can grep the Tk code for the x
  23. > graphics primitives, and you'll know all the places that you need to
  24. > change.  
  25.  
  26. But this doesn't promote code re-use.  As the MicroSoft guys improve
  27. and fix their code we wouldn't see the improvements unless we also
  28. improved and fixed our emulation of their code.  This is why I preferred
  29. the second route (of encapsulating the MS-Windows widgets into
  30. tk-like commands).
  31.  
  32. Don't get me wrong, you have some good points and good suggestions
  33. for another way of code reuse (resuing tk's code).  Your route also
  34. gives us the problem of keeping up with tk's improvements &c, unless
  35. these changes were to become part of the mainstream tk source base.
  36. As Jon comes out with new releases we'd have to re-do the port over
  37. to MS-Windows (and whatever-else-Windows)...
  38.  
  39. I'll spend some time this evening looking at this...
  40.  
  41.     David
  42.