This is HelpPanel.m in view mode; [Download] [Up]
/***(HelpPanel.m)************************************************************** *H* WideScrren's Help Window class implmentation V0.1, 26-APR-92 * *C* V0.1 26-APR-92 Initial version --MDM * ******************************************************************************/ #import "HelpPanel.h" #import <appkit/Application.h> #import <appkit/Window.h> @implementation HelpPanel /****************************************************************************** * INSTANCE METHOD:- init * * This method creates an instance of a HelpPanel object and then loads the * * NIB module for the help panel. * ******************************************************************************/ - init {/* BEGIN init */ /* Create the parent object */ self = [super init]; /* Load the NIB hierarchy: this also sets the outlet variable IVhelpPanel */ [NXApp loadNibSection:"HelpPanel.nib" owner:self]; return self; }/* END init */ /****************************************************************************** * INSTANCE METHOD: ExposeAndFocus * * This method displays the HelpPanel on the top of the window stack and * * gives it the keyboard focus. * ******************************************************************************/ - ExposeAndFocus:sender {/* BEGIN ExposeAndFocus */ [IVhelpPanel makeKeyAndOrderFront:self]; return self; }/* END ExposeAndFocus */ @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.