home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / awm2 / part10 / twm.awmrc < prev   
Encoding:
Text File  |  1989-02-21  |  1.3 KB  |  41 lines

  1. # $Source $
  2. # $Author $
  3. # $Header $
  4. #
  5. # This is a startup file for awm that produces a twm (using defaults)
  6. # lookalike (sort of) at the top level. Some semantics of resize and the icon
  7. # appearances are incompatable but will change in the near future.
  8. # The major difference in appearance you'll notice is the "bold"
  9. # appearance of the window. This is due to the fact that I use the "bold"
  10. # pixmap to tile the title window, I don't draw it on. I have to do this
  11. # since, unlike twm, any arbitrary number of gadgets (of any arbitrary size)
  12. # might be defined and it would be far too much trouble to try and draw
  13. # a tile in between all/some of them.
  14. #
  15. # Don't forget that you need to use twm.Xdefaults as well as this file.
  16. #
  17.  
  18. resetbindings
  19. resetmenus
  20. resetgadgets
  21.  
  22. gadget[0] = (twm.iconify.bm) ^ 1 | LeftGravity
  23. gadget[1] = (twm.resize.bm) ^ 1 | RightGravity
  24. gadget[2] = (twm.focus.bm) ^ 2 | RightGravity
  25.  
  26. # FUNCTION    KEYS    CONTEXT        MOUSE BUTTON ACTIONS
  27. f.move=            :title|icon:    middle motion
  28. f.raise=        :title:        left down
  29. f.raise=        :title:        left up
  30. f.lower=        :title:        right down
  31. f.iconify=        :g[0]:        left down
  32. f.iconify=        :g[0]:        middle down
  33. f.iconify=        :g[0]:        right down
  34. f.iconify=        :icon:        left down
  35. f.resize=        :g[1]:        left down
  36. f.resize=        :g[1]:        middle down
  37. f.resize=        :g[1]:        right down
  38. f.focus=        :g[2]:        left down
  39. f.focus=        :g[2]:        middle down
  40. f.focus=        :g[2]:        right down
  41.