Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!erik.UUCP!randy From: randy@erik.UUCP (Randy Brown) Newsgroups: comp.windows.x Subject: Re: Help with X Resources and the Widget Creation Library! Message-ID: <9009171601.AA03728@erik.uucp> Date: 17 Sep 90 15:59:30 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 20 wangah@crd.ge.com >I am using the Athean Widgets v.R4 and I was wondering if there was >a way in which you can manually set resources during run-time, i.e. >overwriting or adding resources, but not through the resource file? >I would appreciate any help/insight you can give! Please email me, >or call! WCL jst uses the X resource database, period. Therefore, any way you like to modify the database works. You can use xrdb before you start or -xrm on the command line. During execution you can use any of the Xrm routines. XrmPutLineResource is especially comfortable. Of course, none of these work on widgets that have already been created. There is also a Wc routine to read in and interpret a named file; the routine's name escapes me at the moment. It wouldn't be hard to use a couple of dialog boxes to get a line for XrmPutLineResource or a file name for WCL interpretation. Randy Brown (uunet!erik!rbrown)