Article View: comp.sys.next.programmer
Article #1108Re: 3.0 Palette
From: Howard Pan
Date: Wed, 12 Aug 1992 15:21
Date: Wed, 12 Aug 1992 15:21
25 lines
1597 bytes
1597 bytes
In article <1992Aug11.212228.11068@ms.uky.edu> kaveh@ms.uky.edu (Kaveh Baharestan) writes: > 1> How does one get subclasses of objects (that are > not views) to appear in paletteView. I can get views > to subclass (just as easily as always) and have them > custom draw themselves, but then they are not really > buttons or buttoncells or whatever it is i want to > create. If I understand your question correctly, I think what you want to do is to create something that will represent your custom object in the Palette Menu. What I usually do is just drag a button (and customize it with an image/words) that remind me of the object into Palette View. And then link that image to the custom object by implementing the associateObject: as specified in the documentation. You should take a look at the InterfaceBuilder.rtf file in /NextLibrary/Documentation/NextDev/ReleaseNotes and also the CustomPalette documentation in the DevTools directory. =Howard Pan= Internet: pan@athena.mit.edu 410 Memorial Dr. Cambridge MA 02139
Technical Details
Message-ID:
<1992Aug12.152141.17017@news.media.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!news.media.mit.edu!newsReferences:
<1992Aug11.212228.11068@ms.uky.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!news.media.mit.edu!news From: pan@dearth.media.mit.edu (Howard Pan) Subject: Re: 3.0 Palette Message-ID: <1992Aug12.152141.17017@news.media.mit.edu> To: pan@athena.mit.edu Sender: news@news.media.mit.edu (USENET News System) Reply-To: pan@athena.mit.edu Cc: kaveh@ms.uky.edu, pan@athena.mit.edu Organization: MIT Media Laboratory References: <1992Aug11.212228.11068@ms.uky.edu> Date: Wed, 12 Aug 1992 15:21:41 GMT Lines: 25