Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tekbspa!tekbspa!jfm From: jfm@tss.com (Joe Martin) Newsgroups: comp.windows.x.motif Subject: Subclassing XmList, HELP! Message-ID: Date: 18 Jun 91 19:04:34 GMT Sender: news@tss.com (USENET Network News) Distribution: comp.windows.x.motif Organization: Teknekron Software Systems, Inc. Lines: 11 I am currently converting an application from a custom, in-house widget set to Motif(1.1). This will require me to greatly extend the existing XmList capability. My question is this: Is it possible to create a new widget class which is subclassed off of XmList such that XmList is never instanced but is treated as a meta-class where all of its existing methods are inherited by the new widget class? Or, do I have to do as it suggests in O'Reilly, Volume 4, which is basically copying the existing widget to a new widget and extending it from there? Any hints are greatly appreciated. Joe