Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ames!ucsd!ucsdhub!esosun!seismo!uunet!salt.uucp!srinath From: srinath@salt.uucp (Srinath Ramarathnam) Newsgroups: comp.windows.x Subject: Creating a widget which is subclass of list widget Message-ID: <320@salt.UUCP> Date: 8 Feb 89 19:38:22 GMT Organization: MDCISC, Englewood, CO Lines: 14 I tried to create a widget which is a subclass of list widget(Athena widget). Apart from the resources in the list widget I added a couple of more resources. 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. This is not the case if list widget is used directly.Am I missing out some detail when writing the new widget? Advance thanks for a reply. Srinath