[comp.windows.x] Preventing Callback

argv@turnpike.Eng.Sun.COM (Dan Heller) (10/08/90)

In article <10983@hacgate.UUCP> sean@luna.dpl.scg.hac.com (Sean Cohan) writes:
> I am now able to retrieve the widget's name by: widget->core.name, but I
> have a new problem.  
Whoa!  Don't do that!  First, you are not allowed to dereference a
"widget" object.  Big trouble...  Secondly, there is a macro called
XtName() that is available in X11R4 for this purpose.  However, it's
also available in XmP.h which also shouldn't be directly included
by client applications.  OSF: why not move XtName() out into the open?

--
dan
----------------------------------------------------
O'Reilly && Associates   argv@sun.com / argv@ora.com
Opinions expressed reflect those of the author only.