Path: utzoo!attcan!uunet!lll-winken!ames!ncar!unmvax!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!kit From: kit@ATHENA.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Creating a widget which is subclass of list widget Message-ID: <8902091705.AA02630@DORA.MIT.EDU> Date: 9 Feb 89 17:05:48 GMT References: <320@salt.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 26 > In the application program when I specify a callback > using XtSetArg and then create the widget(using XtCreateManagedWidget) > by specifying the Arglist, the callback procedure does not get added > (the XtCallbackList has no entries). But after creation of the widget if > I specify a callback using XtAddCallback the callback procedure gets > added to the CallbackList. These two methods take very different arguments. > Am I missing out some detail when writing the new widget? I don't think so, barring any name collision the intrinsics should handle things correctly. If you are still unable to find the problem, shar up your widget and test case and send them to me. I will see if I can spot the problem. Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139