Article View: gnu.epoch.misc
Article #1962Re: may be a bug? (was - Re: setting resources ...)
From: Tom LaStrange
Date: Thu, 16 May 1991 09:57
Date: Thu, 16 May 1991 09:57
19 lines
1754 bytes
1754 bytes
|> Epoch will not make use of alternate (xrdb) resources if you change |> the name or class of a window. Epoch checks the resources when it |> starts up, and uses those values for all windows. This means that one |> cannot get a new window to use a different font just by changing the |> name or class attribute/property on creation (or thereafter). |> |> Is this a bug? Reading the resources every time a window opens might |> be slow, I suppose. Does it take long to query the Xserver for |> name*resources? Certainly there will be some overhead, but not enough to be worried about. Xt fetches all kinds of resources every time an object is created. It does not require a trip to the server because the application (toolkit) builds it's own copy of the resource database at startup. In the OI toolkit, we also fetch resources on a per object basis and have found through profiling that it is NOT a big time consumer. -- (I kid you not)Tom LaStrange toml@Solbourne.COM
Technical Details
Message-ID:
<TOML.91May16115708@marvin.Solbourne.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stan!marvin!tomlReferences:
<9105141520.AA20233@atlantis.coral.com> <1991May15.191825.26088@m.cs.uiuc.edu> <BLK.91May16100241@vanity.mitre.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,13324c2444c3cd8e X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-05-16 14:05:41 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stan!marvin!toml From: toml@marvin.Solbourne.COM (Tom LaStrange) Newsgroups: gnu.epoch.misc Subject: Re: may be a bug? (was - Re: setting resources ...) Message-ID: <TOML.91May16115708@marvin.Solbourne.COM> Date: 16 May 91 09:57:08 GMT References: <9105141520.AA20233@atlantis.coral.com> <1991May15.191825.26088@m.cs.uiuc.edu> <BLK.91May16100241@vanity.mitre.org> Sender: toml@solbourne.com (Tom LaStrange) Distribution: gnu Organization: Solbourne Computer, Inc. Lines: 19 In-Reply-To: blk@mitre.org's message of 16 May 91 10:02:41