This is Menu.h in view mode; [Download] [Up]
/* Interface for Menu class
*
* Copyright (C) 1993 The Board of Trustees of
* The Leland Stanford Junior University. All Rights Reserved.
*
* Authors: Scott Francis, Paul Kunz, Tom Pavel, Imran Qureshi, and Libing Wang
*
* This file is part of an Objective-C class library a window system
*
* Menu.h,v 1.28 1995/12/13 22:33:05 fedor Exp
*/
#ifndef _Menu_h_
#define _Menu_h_
#include "Panel.h"
#include <Foundation/NSZone.h>
@class List, Matrix, MenuCell;
@interface Menu:Panel
{
Menu *supermenu;
Matrix *matrix;
MenuCell *_helpSubmenu;
BOOL autoUpdate;
}
+ setMenuZone: (NSZone *)aZone;
+ (NSZone *) menuZone;
+ alloc;
- init;
- initTitle: (const char *)aTitle;
- addItem: (const char *)aString action: (SEL)aSelector
keyEquivalent: (unsigned short)charCode;
- setSubmenu: aMenu forItem: aCell;
- itemList;
- setItemList: aMatrix;
- display;
- sizeToFit;
- moveTopLeftTo: (NXCoord)x : (NXCoord)y;
- windowMoved: (NXEvent *)theEvent;
- close;
- update;
- setAutoupdate: (BOOL)flag;
- findCellWithTag: (int)aTag;
- getLocation: (NXPoint *)theLocation forSubmenu: aSubmenu;
- mouseDown: (NXEvent *)theEvent;
- rightMouseDown: (NXEvent *)theEvent;
- awake;
- write: (NXTypedStream *)stream;
- read: (NXTypedStream *)stream;
// + new;
// + newTitle: (const char *)aTitle;
- addItem: (const char*)aString action: target sel: (SEL)aSelector;
- setSubmenu: aMenu forItemName: (const char*)aString;
- setHelpSubmenu: aMenu;
- (BOOL) _isMain;
- _managedBy: parent;
@end
@interface Menu(SubmenuDummyAction)
- submenuAction: sender;
@end
@interface Menu(WidgetSet)
- _init;
- _managedBy:parent wid:(void*)widget;
@end
#endif /* _Menu_h_ */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.