Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!att!bellcore!porthos!opal!nana From: nana@opal.bellcore.com (Ana M. Swanson) Newsgroups: comp.windows.x.motif Subject: XtCallCallbacks Message-ID: Date: 2 Apr 91 19:25:51 GMT Sender: netnews@porthos.cc.bellcore.com (USENET System Software) Organization: Bellcore, Livingston, NJ Lines: 29 I've been having a problem with XtCallCallbacks. I get this message: Warning: Cannot find callback list in XtCallCallbacks when I run the following code. Am I using XtCallCallbacks erroneously? Any ideas where I can find out more information on XtCallCallbacks - there isn't much in the O'Reilly series nor the OSF/Motif manuals? Thanks Ana \ O ---------------------------------X---------------------------------------------- / O CODE in a procedure: XmListCallbackStruct tmp_lcs; tmp.item = XmStringLtoRCreate(widget1, XmSTRING_DEFAULT_CHARSET); XtCallCallbacks(XmSelectionBoxGetChild (widget2, XmDIALOG_APPLY_BUTTON), XmNbrowseSelectionCallback, &tmp); CODE in main program: XtAddCallback(XmSelectionBoxGetChild(widget3, XmDIALOG_LIST), XmNbrowseSelectionCallback, (XtCallbackProc) widget4, NULL);