Xref: utzoo comp.windows.x.motif:3357 comp.windows.x:37559 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!lll-winken!bryce.llnl.gov!rich From: rich@bryce.llnl.gov (Rich Mayfield) Newsgroups: comp.windows.x.motif,llnl.x,comp.windows.x Subject: Subclassing the XmForm Widget Message-ID: <99600@lll-winken.LLNL.GOV> Date: 14 Jun 91 19:09:22 GMT Sender: usenet@lll-winken.LLNL.GOV Reply-To: rich@bryce.llnl.gov (Rich Mayfield) Followup-To: comp.windows.x.motif Organization: Lawrence Livermore National Labs Lines: 19 Nntp-Posting-Host: bryce.llnl.gov This is a question for all you widget writers out there: I'm attempting to subclass Motif's XmForm widget which is itself a subclass of Constraint. (Motif 1.1 BTW) How do I set up the Constraint class part? I need to set up resources, initialize, destroy, and set_values functions for the Constraint record in a way that they are inherited from the XmForm class. Any suggestions on how to properly do this? mucho thanks, rich -------------------------------------- Rich Mayfield (rich@bryce.llnl.gov) who works at but does not represent Lawrence Livermore National Laboratory