PJS@GROUCH.JPL.NASA.GOV (Peter Scott) (07/23/89)
Page 11 of the Athena Widget manual says that my program needs to include X11/Intrinsic.h and the header file for each widget type I use. I was writing a sample program that used a list widget only, and the compiler complained that XtNcallback was undefined, until I included Command.h as well, since that file does define XtNcallback. Is this an omission, or am I misunderstanding something, or is our X out of date? Peter Scott (pjs@grouch.jpl.nasa.gov)
abaxter@pikes.Colorado.EDU (Alan Baxter) (07/24/89)
>Page 11 of the Athena Widget manual says that my program needs to >include X11/Intrinsic.h and the header file for each widget type I >use. I was writing a sample program that used a list widget only, >and the compiler complained that XtNcallback was undefined, until >I included Command.h as well, since that file does define XtNcallback. The Intrinsics manual recommends including <X11/StringDefs.h> after Intrinsic.h. That solves the problem. Alan Baxter CU-Denver Internet: abaxter@pikes.colorado.edu