This is GoWindow.m in view mode; [Download] [Up]
#import "GoWindow.h" #import "GoApp.h" @implementation GoWindow - keyDown:(NXEvent *)theEvent { if([ControlPanel isVisible]) { [ControlPanel makeKeyAndOrderFront:self]; [ControlPanel sendEvent:theEvent]; [NXApp setCommandSender:self]; return self; } else return [super keyDown:theEvent]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.