Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!bcm!wilkins!jcarson From: jcarson@wilkins.bcm.tmc.edu (Janet L. Carson) Newsgroups: comp.windows.x Subject: Inheriting class extensions Message-ID: <158@gazette.bcm.tmc.edu> Date: 2 Feb 90 19:00:32 GMT Sender: usenet@bcm.tmc.edu Lines: 22 I need to build some new types of shells on top of the existing shell widgets, (to add callbacks corresponding to the various WM_PROTOCOLS messages), and I was wondering what the proper way to initialize the shell part of my new widget class is. I think what I want to do is inherit the shell extension fields, but I can't find an XtInheritExtension or an XtInheritShellExtension defined anywhere. Are extensions not inherited? Do I declare a copy of the ShellClassExtensionRec in my own widget file and then make each field of that XtInheritWhatever? (Are there XtInheritWhatever's defined for all of the fields of the extension?) Thanks for any help! --Janet Janet L. Carson internet: jcarson@bcm.tmc.edu Baylor College of Medicine uucp: {rutgers,mailrus}!bcm!jcarson Janet L. Carson internet: jcarson@bcm.tmc.edu Baylor College of Medicine uucp: {rutgers,mailrus}!bcm!jcarson