home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sources / wanted / 4962 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  930 b 

  1. Xref: sparky comp.sources.wanted:4962 comp.windows.x:18844
  2. Newsgroups: comp.sources.wanted,comp.windows.x
  3. Path: sparky!uunet!eco.twg.com!twg.com!news
  4. From: "David Herron" <david@twg.com>
  5. Subject: Re: X-windows "Hello World" program wanted
  6. Message-ID: <1992Nov7.034047.22699@twg.com>
  7. Sensitivity: Personal
  8. Encoding:  11 TEXT 
  9. Sender: news@twg.com (USENET News System)
  10. Conversion: Prohibited
  11. Organization: The Wollongong Group, Inc., Palo Alto, CA
  12. Conversion-With-Loss: Prohibited
  13. Date: Sat, 7 Nov 1992 03:53:43 GMT
  14. Lines: 11
  15.  
  16. In article <ccjg.720713228@Hyaena>, ccjg@Hyaena.ru.ac.za (John Goetsch) writes:
  17.  
  18. > I am looking for the source code for a typical x-windows version of
  19. > the "hello world" program....
  20.  
  21. Admittadly this isn't fair.  But the following two lines of TCL/TK
  22. is a "Hello, world!" program which displays on X:
  23.  
  24. button .quit -text "Hello, world!" -command "catch {destroy .}"
  25. pack append . .quit {top fill expand}
  26.  
  27.