home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19275 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: gildea@expo.lcs.mit.EDU (Stephen Gildea)
  4. Subject: merging resource databases
  5. Message-ID: <9211172221.AA28359@alex.lcs.mit.edu>
  6. Sender: root@athena.mit.edu (Wizard A. Root)
  7. Organization: X Consortium, MIT Laboratory for Computer Science
  8. References: <1992Nov09.152958.6958@rchland.ibm.com>
  9. Date: Tue, 17 Nov 1992 22:21:47 GMT
  10. Lines: 21
  11.  
  12. (The original Subject line was "Missing subject header".  Normally I
  13. don't change Subject lines, no matter how silly, in deference to other
  14. users of nn.  But there are limits.)
  15.  
  16.     [I use XrmMergeDatabase and then smash dpy->db]
  17.            ... since I need to load some resource values from a file used to
  18.     specify some widget resources, such as color and fonts.  These resource
  19.     files are used by a number of clients and to avoid duplicating the values
  20.     in each client's system app-defaults file, they are placed in these files
  21.     and each client loads them itself ...
  22.  
  23.  
  24. I'm glad my column in "The X Resource" got at least one person thinking
  25. about their code :-)
  26.  
  27. In R5 you can use #include in your app-defaults files to point at
  28. these common resources.  Then your client code doesn't need to worry
  29. about the databases at all.
  30.  
  31.  < Stephen
  32.    MIT X Consortium
  33.