home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / XfeWidgets / tests / ButtonTest.ad < prev    next >
Encoding:
Text File  |  1998-04-08  |  2.7 KB  |  82 lines

  1. ! -*- Mode: Fundamental; tab-width: 4; indent-tabs-mode: nil -*-
  2. !
  3. ! The contents of this file are subject to the Netscape Public License
  4. ! Version 1.0 (the "NPL"); you may not use this file except in
  5. ! compliance with the NPL.  You may obtain a copy of the NPL at
  6. ! http://www.mozilla.org/NPL/
  7. !
  8. ! Software distributed under the NPL is distributed on an "AS IS" basis,
  9. ! WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10. ! for the specific language governing rights and limitations under the
  11. ! NPL.
  12. !
  13. ! The Initial Developer of this code under the NPL is Netscape
  14. ! Communications Corporation.  Portions created by Netscape are
  15. ! Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16. ! Reserved.
  17.  
  18.  
  19. ButtonTest*MainForm.width:                500
  20. ButtonTest*MainForm.height:                700
  21. ButtonTest*MainForm.background:            Gray70
  22. ButtonTest*MainForm.shadowThickness:        0
  23. ButtonTest*MainForm.shadowType:            shadow_in
  24.  
  25. ButtonTest*fontList:    -*-helvetica-medium-r-*-*-*-140-*-*-*-*-iso8859-*
  26. ButtonTest*labelFontList:    -*-helvetica-medium-r-*-*-*-140-*-*-*-*-iso8859-*
  27. ButtonTest*foreground:    Black
  28.  
  29. !!
  30. !! MenuBar
  31. !!
  32. ButtonTest*MenuBar.leftAttachment:                    attach_form
  33. ButtonTest*MenuBar.rightAttachment:                    attach_form
  34. ButtonTest*MenuBar.topAttachment:                    attach_form
  35. ButtonTest*MenuBar.bottomAttachment:                attach_none
  36.  
  37. ButtonTest*MenuBar*background:                        Gray65
  38. ButtonTest*MenuBar*shadowThickness:                    2
  39.  
  40. ButtonTest*MenuBar*File.mnemonic:                    F
  41. ButtonTest*MenuBar*Toggle.mnemonic:                    T
  42.  
  43. ButtonTest*MenuBar*File*Exit.labelString:            Exit
  44. ButtonTest*MenuBar*File*Exit.acceleratorText:        Alt-Q
  45. ButtonTest*MenuBar*File*Exit.accelerator:            Alt<Key>Q
  46. ButtonTest*MenuBar*File*Exit.mnemonic:                x
  47.  
  48. !!
  49. !! ToolBar
  50. !!
  51. ButtonTest*ButtonTarget.leftAttachment:                attach_form
  52. ButtonTest*ButtonTarget.rightAttachment:            attach_none
  53. ButtonTest*ButtonTarget.topAttachment:                attach_form
  54. ButtonTest*ButtonTarget.bottomAttachment:            attach_none
  55.  
  56. !ButtonTest*ButtonTarget.topWidget:                    MenuBar
  57.  
  58. ButtonTest*ButtonTarget.topOffset:                    200
  59. ButtonTest*ButtonTarget.leftOffset:                    50
  60.  
  61. ButtonTest*ButtonTarget.background:                    Gray70
  62.  
  63. ButtonTest*ButtonTarget.buttonType:                    button_push
  64.  
  65. ButtonTest*ButtonTarget.raiseOnEnter:                true
  66.  
  67. ButtonTest*ButtonTarget.shadowThickness:            2
  68.  
  69. ButtonTest*ButtonTarget.raiseBorderThickness:        2
  70.  
  71. ButtonTest*ButtonTarget.marginLeft:                    10
  72. ButtonTest*ButtonTarget.marginRight:                10
  73. ButtonTest*ButtonTarget.marginTop:                    10
  74. ButtonTest*ButtonTarget.marginBottom:                10
  75.  
  76. ButtonTest*ButtonTarget.buttonTrigger: button_trigger_either
  77.  
  78. !ButtonTest*ButtonTarget.cursor:                        hand2
  79. ButtonTest*ButtonTarget.transparentCursor:            cross
  80.  
  81.  
  82.