Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!ll-xn!ames!amdahl!apple!singer From: singer@Apple.COM (Dave Singer) Newsgroups: comp.windows.news Subject: Re: NeWS Beginner Questions Message-ID: <10170@apple.Apple.Com> Date: 16 May 88 16:05:56 GMT References: <8805150638.AA14535@brillig.umd.edu> Reply-To: singer@apple.UUCP (Dave Singer) Organization: Apple Computer Inc, Cupertino, CA Lines: 29 In article <8805150638.AA14535@brillig.umd.edu> don@BRILLIG.UMD.EDU (Don Hopkins) writes: >I tried making FrameMenu and IconMenu class variables, and it worked, >except that the "Spin!" demo obnoxiously adds keys to the shared >FrameMenu! > >A window based debugger sure would be nice! Has anybody created Items >to display and edit various NeWS data types? (i.e. canvas editor, >process editor, dictionary editor, etc...) > > -Don The hack I used was to ensure that there was a framemenu/iconmenu class variable in the same dictionary as the createframemenu/createiconmenu procedures. For obvious reasons this hack is easily fooled; however these problems didn't come up for me. Creating those menus adds nearly a second (half the time) to creating a window (the other big consumer is in allocating the canvas itself). I also have a version of class.ps which you should be able to get from SUN, which allows multiple inheritance, class re-definition, adding new methods and class variables after class definition, and type/inheritance checking. Finally there is also an inspector I wrote for NeWS structured objects (dictionaries, arrays, processes etc.) which shows all the key/value pairs in these things and allows you to update them. There was a bug in updating executable arrays last time I looked. *I no longer work at Schlumberger, where I wrote these. SUN has re-distribution rights for them; ask there or at Schlumberger.*