Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!orca!mesa!rthomson From: rthomson@mesa.dsd.es.com (Rich Thomson) Newsgroups: comp.windows.x Subject: Re: How do I give a popup window a title? Message-ID: <1991Apr18.053436.28429@dsd.es.com> Date: 18 Apr 91 05:34:36 GMT References: <95273@lll-winken.LLNL.GOV> <24254@well.sf.ca.us> Sender: usenet@dsd.es.com Reply-To: rthomson@dsd.es.com (Rich Thomson) Organization: Design Systems Division, Evans & Sutherland, SLC, UT Lines: 28 Nntp-Posting-Host: 130.187.85.21 In article <24254@well.sf.ca.us> bschoen@well.sf.ca.us (Brook Schoenfield) writes: >>I am creating a popup window using Athena widgets and the XT toolkit. > >>Everything works great except I am wondering how do I give a title to >>the popup window? Suppose your application is called "foo" and the popup window is called "baz", try setting the resource: "foo.baz.title: My Title" and see if you get one. >Popups are "overrideredirect", [...] >What this means is that the window manager, the entity responsible for >such niceties as window titles is being bypassed. Not quite. It means that the window manager won't attempt to modify the geometry request for the window creation. For instance, all the dialog boxes I get under mwm have the standard window decorations. If under mwm you don't want the decorations, you can always set the *clientDecorations resource. (I think you can also call some MwmMondoHugoLongFunctionName to get the job done as well...) -- Rich -- ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon Disclaimer: I speak for myself, except as noted. UUCP: ...!uunet!dsd.es.com!rthomson Rich Thomson ARPA: rthomson@dsd.es.com PEXt Programmer