|
Top Document: SGI graphics Frequently Asked Questions (FAQ) Previous Document: -24- How can I set resources? Next Document: -26- Does the GL recognize resources? See reader questions & answers on this topic! - Help others by sharing your knowledge
Date: 07 May 1993 00:00:01 EST
To accomplish this task, you need to take advantage of the "instance
vs class" concept. This concept is explained further in most books on
Xt.
Many applications have a resource that lets you to give it a unique
name. For example, from the xwsh man page :
-name instance-name
Provide a unique name for an xwsh window. This name becomes
the instance name of the specific xwsh, with the class name
always being "XWsh".
Using the -name option allows you to give "names" to different
instances of xwsh and assign different resources to each one. So if
you want two different xwsh's with different resource sets, give them
two different names, say howdymom and howdydoody, for example. Add
the following to your ~/.Xdefaults file (if you use .Xdefaults) :
howdymom*foreground: SeaGreen
howdydoody*foreground: SGIBeet
Now all you have to do is start them up :
xwsh -name howdymom&
xwsh -name howdydoody&
User Contributions:Top Document: SGI graphics Frequently Asked Questions (FAQ) Previous Document: -24- How can I set resources? Next Document: -26- Does the GL recognize resources? Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: sgi-faq@viz.tamu.edu (The SGI FAQ group)
Last Update March 27 2014 @ 02:12 PM
|

Comment about this article, ask questions, or add new information about this topic: