Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!uc!shamash!timbuk!cs.umn.edu!aps1.spa.umn.edu!zoo From: zoo@armadillo.spa.umn.edu (david d [zoo] zuhn) Newsgroups: comp.windows.x Subject: Xt and the Destroy method Message-ID: Date: 8 Aug 90 09:31:07 GMT Sender: iacovou@cs.umn.edu (Danny Iacovou) Distribution: comp Organization: Minnesota Automated Plate Scanner Project Lines: 15 I have been trying to get Xt to call the Destroy method for my widget, without any success. The Destroy field in the refMenuClassRec is filled with the pointer to the function. In a simple example, I create a top_level widget, and then one instance of my widget. If I call XtDestroyWidget on the top level widget, and call this during my exit routine, everything dies nicely, except that the Destroy method is NOT called. If I try XtDestroyWidget directly on the widget, and not going through the top level, the same thing happens. Can anyone say that their Destroy methods are being called? Can you send me sample code? Relevants: X11R4, pl14. SunOS 4.1 & Dynix 3.0.17