home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks4 / AppKit.framework / Headers / NSPopUpList.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-29  |  768 b   |  37 lines

  1. /*
  2.     PopUpList.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "NSMenu.h"
  8.  
  9. @interface  NSPopUpList : NSMenu
  10. {
  11. }
  12.  
  13. extern void NSAttachPopUpList(id button, NSPopUpList *popuplist);
  14. extern id NSCreatePopUpListButton(NSPopUpList *popuplist);
  15.  
  16. - init;
  17.  
  18. - popUp:sender;
  19. - addItem:(NSString *)title;
  20. - insertItem:(NSString *)title at:(unsigned int)index;
  21. - removeItem:(NSString *)title;
  22. - removeItemAt:(unsigned int)index;
  23. - (unsigned int)count;
  24. - changeButtonTitle:(BOOL)flag;
  25. - (int)indexOfItem:(NSString *)title;
  26. - font;
  27. - setFont:fontId;
  28. - (NSString *)selectedItem;
  29. - (NSRect)buttonFrame;
  30. - (SEL)action;
  31. - setAction:(SEL)aSelector;
  32. - target;
  33. - setTarget:anObject;
  34. - setContentSize:(NSSize)_contentSize;
  35.  
  36. @end
  37.