home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / MenuCell.h < prev    next >
Text File  |  1990-10-15  |  868b  |  37 lines

  1. /*
  2.     MenuCell.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "ButtonCell.h"
  8.  
  9. @interface MenuCell : ButtonCell
  10. {
  11.     SEL                 updateAction;
  12. }
  13.  
  14. - initTextCell:(const char *)aString;
  15. - init;
  16.  
  17. + useUserKeyEquivalents:(BOOL)flag;
  18.  
  19. - setUpdateAction:(SEL)aSelector forMenu:aMenu;
  20. - (unsigned short)userKeyEquivalent;
  21. - (SEL)updateAction;
  22. - (BOOL)trackMouse:(NXEvent *)theEvent inRect:(const NXRect *)cellFrame ofView:controlView;
  23. - (BOOL)hasSubmenu;
  24. - write:(NXTypedStreamUE"tream;
  25. - read:(NXTypedStream *)stream;
  26.  
  27. /* 
  28.  * The following new... methods are now obsolete.  They remain in this  
  29.  * interface file for backward compatibility only.  Use Object's alloc method  
  30.  * and the init... methods defined in this class instead.
  31.  */
  32. + newTextCell:(const char *)aString;
  33. + newTextCell;
  34. + new;
  35.  
  36. @end
  37.