Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!cci632!ritcsh!mikel From: mikel@ritcsh.csh.rit.edu (Mike Leibow) Newsgroups: comp.windows.x.motif Subject: XmNactivateCallback for TextWidget Message-ID: <1991Feb22.195012.1357@ritcsh.csh.rit.edu> Date: 22 Feb 91 19:50:12 GMT Sender: mikel@ritcsh.csh.rit.edu (Mike Leibow) Organization: Computer Science House @ RIT, Rochester, NY. Lines: 27 Hi, I have a sun3/60 with 12M of ram, sunOS 4.0.3. I am using the mit sample server X11R4 with all 18 patches. I am using Motif V1.0 with the Motif intrinsics. cb[0].callback = (XtCallbackProc)callback; cb[0].closure = (caddr_t)client_data; cb[1].callback = (XtCallbackProc)NULL; cb[1].closure = (caddr_t)NULL; XtSetArg(al[ac],XmNactivateCallback,cb); ac++; text=XtCreateManagedWidget("text", xmTextWidgetClass,rc,al,ac); This widget never calls its activateCallback. If I override the translation list with : activate()\n\ : self-insert()\n\ : focusIn()\n\ : focusOut()\n then mouse button 2 will cause an activateCallback. However, the default translations and the :Return don't do it. Also, if I explicitly add :Return: activate(), that doesn't work either. Thanks for your help... --Mike Leibow