home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / r / ril.zip / demos / x.ril < prev   
Text File  |  1992-07-29  |  631b  |  46 lines

  1. #
  2. # This example uses a "style" defined externally, and
  3. # overrides certain resources as needed.
  4. #
  5. #
  6. RilSource "style1.ril"
  7.  
  8. Widget x {
  9.     wcChildren: main
  10. }
  11.  
  12. Widget *main {
  13.     wcClassName: XmpTable
  14.     wcChildren: l1 l2 l3 l4
  15.     layout:\
  16.         l1    0 0 1 1 ;\
  17.         l2  0 1 1 1 ;\
  18.         l3  0 2 1 1 ;\
  19.         l4  0 3 1 1 ;
  20. }
  21.  
  22. Widget *l1 {
  23.     wcClassName: XmPushButton
  24.     labelString: Button 1
  25. }
  26.  
  27. Widget *l2 {
  28.     wcClassName: XmPushButton
  29.     labelString: Button 2
  30. }
  31.  
  32. Widget *l3 {
  33.     wcClassName: XmPushButton
  34.     labelString: Button 3
  35.     background:white
  36.     foreground:red
  37. }
  38.  
  39. Widget *l4 {
  40.     wcClassName: XmPushButton
  41.     labelString: Button 4
  42.     background:white
  43.     foreground:red
  44. }
  45.  
  46.