[comp.windows.open-look] Resources in XView

chuck@trantor.harris-atd.com (Chuck Musciano) (12/04/90)

[ Sorry if this appears twice.  Our local feed hiccuped ]

     A contool user wonders why

	contool*window.color.background: yellow

fails to work, while

	*window.color.background: yellow

works, but for all windows.  How do you tell XView what the instance name
of the application for resource manager purposes?  Or should the user have
used

	contool*color.background: yellow

instead?  How is this supposed to work?

-- 

Chuck Musciano				ARPA  : chuck@trantor.harris-atd.com
Harris Corporation 			Usenet: ...!uunet!x102a!trantor!chuck
PO Box 37, MS 3A/1912			AT&T  : (407) 727-6131
Melbourne, FL 32902			FAX   : (407) 729-2537

A good newspaper is never good enough,
	but a lousy newspaper is a joy forever.		-- Garrison Keillor

tomj@snowking.Eng.Sun.COM (Tom Jacobs) (12/04/90)

In article <5007@trantor.harris-atd.com>, chuck@trantor.harris-atd.com
(Chuck Musciano) writes:
|> [ Sorry if this appears twice.  Our local feed hiccuped ]
|> 
|>      A contool user wonders why
|> 
|> 	contool*window.color.background: yellow
|> 
|> fails to work, while
|> 
|> 	*window.color.background: yellow
|> 
|> works, but for all windows.  How do you tell XView what the instance
name
|> of the application for resource manager purposes?  Or should the user
have
|> used
|> 
|> 	contool*color.background: yellow
|> 
|> instead?  How is this supposed to work?
|> 
|> -- 
|> 
|> Chuck Musciano				ARPA  : chuck@trantor.harris-atd.com
|> Harris Corporation 			Usenet: ...!uunet!x102a!trantor!chuck
|> PO Box 37, MS 3A/1912			AT&T  : (407) 727-6131
|> Melbourne, FL 32902			FAX   : (407) 729-2537
|> 
|> A good newspaper is never good enough,
|> 	but a lousy newspaper is a joy forever.		-- Garrison Keillor

XView does not use the instance/class scheme that Xt-based clients use.
Resource usage follows a more explicit model that puts more "control"
in
the hands of the app.  You can make global resources (like
window.color)
app specific either through application explicit calls to xrm*() or by
specifying the specific resource on the command-line when invoking
the application...

	% contool -xrm "window.color.backround: yellow" &

---
Tom Jacobs				ARPA: tomj@Eng.Sun.com
Windows & Graphics Software		UUCP: sun!tomj
Sun Microsystems, Inc.