home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks3 / AppKit.framework / Headers / NSMenuItem.h < prev    next >
Text File  |  1996-01-23  |  613b  |  28 lines

  1. /*
  2.     MenuItem.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "NSButtonCell.h"
  8.  
  9. @interface NSMenuItem : NSButtonCell
  10. {
  11.     SEL                 updateAction;
  12. }
  13.  
  14. - initTextCell:(NSString *)aString;
  15. - init;
  16.  
  17. + useUserKeyEquivalents:(BOOL)flag;
  18.  
  19. - setUpdateAction:(SEL)aSelector forMenu:aMenu;
  20. - (NSString *)userKeyEquivalent;
  21. - (SEL)updateAction;
  22. - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:controlView untilMouseUp:(BOOL)untilMouseUp;
  23. - (BOOL)hasSubmenu;
  24. - write:(NXTypedStream *)stream;
  25. - read:(NXTypedStream *)stream;
  26.  
  27. @end
  28.