home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / hardware / 6477 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.7 KB

  1. Path: sparky!uunet!noc.near.net!nic.near.net!not-for-mail
  2. From: anselmo@nic.near.net (Ed Anselmo)
  3. Newsgroups: comp.sys.sun.hardware
  4. Subject: Re: Sun's GUI and OS mistakes (was Re: LX and SUNOS 4.x)
  5. Date: 22 Dec 1992 13:56:08 -0500
  6. Organization: NEARnet, Cambridge, MA
  7. Lines: 32
  8. Message-ID: <1h7oc8INN4r8@nic.near.net>
  9. References: <1992Dec18.182401.7736@zia.aoc.nrao.edu>
  10.     <16017@auspex-gw.auspex.com> <1992Dec21.184048.8933@zia.aoc.nrao.edu>
  11.     <16031@auspex-gw.auspex.com>
  12. NNTP-Posting-Host: nic.near.net
  13. In-reply-to: guy@Auspex.COM's message of 22 Dec 92 04:40:42 GMT
  14.  
  15.  
  16. >>Tried this for a while, the biggest problem was dismissing popups (which of
  17. >>course came up without pins) without killing the primary application. This 
  18. >>could just have been my ignorance and might have been avoidable with some
  19. >>option in .twmrc, but there were other problems with the appearance and 
  20. >>behavior of the windows etc.
  21.  
  22. > I think there is a way of getting ".twmrc" to dismiss popups; you might
  23. > check out the "comp.windows.open-look" FAQ - I think you bind something
  24. > to "f.delete" and use that to dismiss the popup.  Dunno about the other
  25. > problems you mention, as I don't have enough details....
  26.  
  27. Use f.delete to dismiss popups, f.destroy kills the parent
  28. application.  I bind a menu to the left side icon of the twm title
  29. bar:
  30.  
  31. LeftTitleButton "menu12" = f.menu "windowmenu"  # add a menu to each window
  32. menu "windowmenu"
  33. {
  34. "Iconify"               f.iconify
  35. "RaiseLower"            f.raiselower
  36. "Refresh"               f.winrefresh
  37. "Focus"                 f.focus
  38. ""                      f.nop
  39. "Kill"                  f.menu "kill"
  40. }
  41.  
  42. menu "kill"
  43. {
  44.     "Kill Window"       f.destroy
  45.     "Send Delete"       f.delete
  46. }
  47.