[comp.windows.x] Merging resource string with app-defaults file?

dce@smsc.sony.com (David Elliott) (02/16/91)

I have an Xt application that reads a data file before it initializes
Xt.  Part of this file contains defaults information for running the
program with this particular data, such as the height and width of
the various windows.

Currently, I parse the defaults information and use that to set an
Arglist for use with XtAppInitialize.  This works OK, but what
I would really like is to have this data be is a string containing
X resources, and make these override what is in the app-defaults
file (but not what the user specifies).

I can't use the fallback resources data, since I do have an
app-defaults file.

Is there a portable way to do this?