home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5573 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.5 KB  |  40 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!snorkelwacker.mit.edu!news.media.mit.edu!news
  3. From: pan@dearth.media.mit.edu (Howard Pan)
  4. Subject: Re: 3.0 Palette
  5. Message-ID: <1992Aug12.152141.17017@news.media.mit.edu>
  6. To: pan@athena.mit.edu
  7. Sender: news@news.media.mit.edu (USENET News System)
  8. Reply-To: pan@athena.mit.edu
  9. Cc:  kaveh@ms.uky.edu, pan@athena.mit.edu
  10. Organization: MIT Media Laboratory
  11. References: <1992Aug11.212228.11068@ms.uky.edu>
  12. Date: Wed, 12 Aug 1992 15:21:41 GMT
  13. Lines: 25
  14.  
  15. In article <1992Aug11.212228.11068@ms.uky.edu> kaveh@ms.uky.edu (Kaveh  
  16. Baharestan) writes:
  17. > 1> How does one get subclasses of objects (that are
  18. > not views) to appear in paletteView.  I can get views
  19. > to subclass (just as easily as always) and have them
  20. > custom draw themselves, but then they are not really
  21. > buttons or buttoncells or whatever it is i want to
  22. > create.
  23.  
  24. If I understand your question correctly, I think what you want to do is to  
  25. create something that will represent your custom object in the Palette  
  26. Menu. What I usually do is just drag a button (and customize it with an  
  27. image/words) that remind me of the object into Palette View. And then link  
  28. that image to the custom object by implementing the associateObject: as  
  29. specified in the documentation. You should take a look at the  
  30. InterfaceBuilder.rtf file in  
  31. /NextLibrary/Documentation/NextDev/ReleaseNotes  and also the  
  32. CustomPalette documentation in the DevTools directory. 
  33.  
  34.  
  35.  
  36. =Howard Pan=
  37. Internet: pan@athena.mit.edu
  38. 410 Memorial Dr.         
  39. Cambridge MA 02139        
  40.