sean@luna.dpl.scg.hac.com (Sean Cohan) (10/02/90)
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"?
klee@wsl.dec.com (Ken Lee) (10/03/90)
In article <10932@hacgate.UUCP>, sean@luna.dpl.scg.hac.com (Sean Cohan) writes: |> Once I have the widget retruned into a variable, how can I find out what the |> widget's real name is? X11R4 and Motif1.1 have a XtName(widget) function that returns the widget's instance name. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee