This is MenuCell.h in view mode; [Download] [Up]
/* Interface for MenuCell class
*
* Copyright (C) 1993 The Board of Trustees of
* The Leland Stanford Junior University. All Rights Reserved.
*
* Authors: Scott Francis, Paul Kunz, and Libing Wang
*
* This file is part of an Objective-C class library a window system
*
* MenuCell.h,v 1.24 1995/12/13 22:33:06 fedor Exp
*/
#ifndef _MenuCell_h_
#define _MenuCell_h_
#include "ButtonCell.h"
@class Menu;
@interface MenuCell:ButtonCell
{
Menu *subMenu;
SEL updateAction;
}
+ useUserKeyEquivalents:(BOOL)flag;
- init;
- initTextCell:(const char *)aString;
- copyFromZone:(NSZone *)zone;
- free;
- (BOOL)hasSubmenu;
- setSubmenu:aMenu;
- setUpdateAction:(SEL)aSelector forMenu:aMenu;
- (unsigned short)userKeyEquivalent;
- setState:(int) value;
- (BOOL)trackMouse:(NXEvent *)theEvent inRect:(const NXRect *)cellFrame ofView:controlView;
- (SEL)updateAction;
- read:(TypedStream *)typedStream;
- write:(TypedStream *)typedStream;
@end
@interface MenuCell(WidgetSet)
- _init;
- _addCallback;
- _setSubmenu;
- _managedBy:parent;
- _managedBy:parent wid:(void*)widget;
@end
#endif /* _MenuCell_h_ */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.