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