Path: utzoo!attcan!uunet!decwrl!ucbvax!THUMPER.BELLCORE.COM!nsb From: nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) Newsgroups: comp.soft-sys.andrew Subject: Re: Parents, just don't understand. Message-ID: Date: 27 Jul 90 13:45:12 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 24 Excerpts from internet.info-andrew: 26-Jul-90 Re: Parents, just don't und.. Gary Keim@andrew.cmu.edu (520+0) > Well, it is strange that there doesn't exist at least at view-class > macromethod along these lines: > class view { > macromethods: > Parent() ((self)->parent) > }; > I don't know what the reasoning is behind this because you just need to > get your parent sometimes -- mostly when posting menus and keystates. > Use this macro for any subclasses of view: > #define Parent(self) ((self)->header.view.parent) Well, why not add "Parent" as a macromethod to the view class in the next patch, rather than tell everyone to define their own macro and leave it at that?