Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!dont-send-mail-to-path-lines
From: jordan@tcs.COM (Jordan Hayes)
Subject: Re: how can I put a digital clock in the title bar?
Message-ID: <9105071921.AA16536@dwight.tcs.com>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: Teknekron Communications Systems, Inc., Berkeley, CA.
References: <3212@s5.Morgan.COM>
Date: 7 May 91 19:21:50 GMT
Lines: 17

Chuck Ocheret <chuck@fid.Morgan.COM> writes:

	>	 XStoreName(XtDisplay(shell), XtWindow(shell), buf);

	Also note that if you are using Xt, your shell is probably a
	subclass of WMShell so you would be better off using the
	XtNtitle resource instead of calling XStoreName().
	XtSetValues() incurs more client CPU overhead but keeps the
	shell up to date locally.

Presumably you would want to keep the client up-to-date for the purpose
of being able to read it back with a XtGetValues, but since it ticks
once per second, how long would your answer be valid?

:~>

/jordan
