Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!hacgate!luna.dpl.scg.hac.com!sean From: sean@luna.dpl.scg.hac.com (Sean Cohan) Newsgroups: comp.windows.x.motif Subject: Widget Name Message-ID: <10932@hacgate.UUCP> Date: 2 Oct 90 15:34:39 GMT Sender: news@hacgate.UUCP Reply-To: sean@luna.dpl.scg.hac.com (Sean Cohan) Distribution: usa Organization: Hughes Aircraft Co., El Segundo, CA Lines: 9 I am using XQueryPointer to get the widget of the current x and y location. Once I have the widget retruned into a variable, how can I find out what the widget's real name is? For example, if I created a pushbutton like: button = XtCreateWidget("Button", xmPushButtonWidgetClass, parent, args, argcnt); How can I find out that the widget returned from XQueryPointer is named "Button"?