This is PopUpMenu.m in view mode; [Download] [Up]
// Copyright 1992 Thomas A. Dilligan // All Rights Reserved // // For best results, set tabstop=4 #import "PopUpMenu.h" @implementation PopUpMenu - mouseDown:(NXEvent *)event { [popUpList popUp:self]; return self; } - initFrame:(NXRect *)frameRect; { [super initFrame:frameRect]; popUpList=[[PopUpList alloc] init]; [self setIconPosition:NX_ICONRIGHT]; [self setAlignment:NX_LEFTALIGNED]; [self setIcon:"Spot"]; return self; } - popUpList { return popUpList; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.