Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Is widget mapped? Message-ID: <2354@bacchus.dec.com> Date: 29 Dec 89 18:42:37 GMT References: <8912291635.AA08938@hendrix.odi.com> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 14 In article <8912291635.AA08938@hendrix.odi.com>, bob@odi.COM (Bob Miner) writes: > Is there any way to determine whether the widget is mapped or unmapped? > I'm looking for some method akin to XtIsRealized() for determining the > mapped state of the widget - something like XtIsMapped(). You can do a XGetWindowAttributes() on the widget's window, but this is a protocol request, and thus somewhat slower than maintaining your own state. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee