[Previous]
[Up]
[Next]
NSApplication
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSApplication.h
Inherits from: NSResponder
Conforms to: NSCoding
Instance Variables
Methods
Class Methods
+ (void) setApplicationHandle: (void*)hInstance previousHandle: (void*)prevInstance commandLine: (NSString*)cmdLine show: (int)cmdShow;
+ (void) useRunningCopyOfApplication;
Instances Methods
- (void) abortModal;
- (void) activateContextHelpMode: (id)sender;
- (void) activateIgnoringOtherApps: (BOOL)flag;
- (void) addWindowsItem: (NSWindow*)aWindow title: (NSString*)title filename: (BOOL)isFilename;
- (void*) applicationHandle;
- (NSImage*) applicationIconImage;
- (void) arrangeInFront: (id)sender;
- (NSModalSession) beginModalSessionForWindow: (NSWindow*)aWindow;
- (void) changeWindowsItem: (NSWindow*)aWindow title: (NSString*)aString filename: (BOOL)isFilename;
- (NSDPSContext*) context;
- (NSEvent*) currentEvent;
- (void) deactivate;
- (void) discardEventsMatchingMask: (unsigned int)mask beforeEvent: (NSEvent*)lastEvent;
- (void) endModalSession: (NSModalSession)session;
- (void) finishLaunching;
- (void) hide: (id)sender;
- (BOOL) isActive;
- (BOOL) isHidden;
- (BOOL) isRunning;
- (NSWindow*) keyWindow;
- (NSMenu*) mainMenu;
- (NSWindow*) mainWindow;
- (NSWindow*) makeWindowsPerform: (SEL)aSelector;
- (void) miniaturizeAll: (id)sender;
- (NSWindow*) modalWindow;
- (NSEvent*) nextEventMatchingMask: (unsigned int)mask untilDate: (NSDate*)expiration inMode: (NSString*)mode dequeue: (BOOL)flag;
- (void) orderFrontColorPanel: (id)sender;
- (void) orderFrontStandardAboutPanel: (id)sender;;
- (void) orderFrontStandardAboutPanelWithOptions: (NSDictionary*)optionsDictionary;;
- (void) postEvent: (NSEvent*)anEvent;
- (void) preventWindowOrdering;
- (void) registerServicesMenuSendTypes: (NSArray*)sendTypes returnTypes: (NSArray*)returnTypes;
- (void) removeWindowsItem: (NSWindow*)aWindow;
- (void) reportException: (NSException*)anException;
- (void) run;
- (int) runModalForWindow: (NSWindow*)aWindow;
- (int) runModalSession: (NSModalSession)session;
- (void) runPageLayout: (id)sender;
- (BOOL) sendAction: (SEL)anAction to: (id)aTarget from: (id)sender;
- (void) sendEvent: (NSEvent*)anEvent;
- (NSMenu*) servicesMenu;
- (id) servicesProvider;
- (void) setApplicationIconImage: (NSImage*)anImage;
- (void) setDelegate: (id)anObject;
- (void) setMainMenu: (NSMenu*)aMenu;
- (void) setServicesMenu: (NSMenu*)aMenu;
- (void) setServicesProvider: (id)aProvider;
- (void) setWindowsMenu: (NSMenu*)aMenu;
- (void) setWindowsNeedUpdate: (BOOL)flag;
- (void) showHelp: (id)sender;
- (void) stop: (id)sender;
- (void) stopModal;
- (void) stopModalWithCode: (int)returnCode;
- (id) targetForAction: (SEL)aSelector;
- (void) terminate: (id)sender;
- (BOOL) tryToPerform: (SEL)aSelector;
- (void) unhide: (id)sender;
- (void) unhideWithoutActivation;
- (void) updateWindows;
- (void) updateWindowsItem: (NSWindow*)aWindow;
- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
- (NSArray*) windows;
- (NSMenu*) windowsMenu;
- (NSWindow*) windowWithWindowHandle: (void*)hWnd;
- (NSWindow*) windowWithWindowNumber: (int)windowNum;
- (BOOL) application: (NSApplication*)theApplication;
- (BOOL) application: (NSApplication*)sender openFileWithoutUI: (NSString*)filename;
- (BOOL) application: (NSApplication*)theApplication;
- (BOOL) application: (NSApplication*)theApplication;
- (void) applicationDidBecomeActive: (NSNotification*)aNotification;
- (void) applicationDidFinishLaunching: (NSNotification*)aNotification;
- (void) applicationDidHide: (NSNotification*)aNotification;
- (void) applicationDidResignActive: (NSNotification*)aNotification;
- (void) applicationDidUnhide: (NSNotification*)aNotification;
- (void) applicationDidUpdate: (NSNotification*)aNotification;
- (BOOL) applicationOpenUntitledFile: (NSApplication*)theApplication;
- (BOOL) applicationShouldOpenUntitledFile: (NSApplication*)sender;
- (BOOL) applicationShouldTerminate: (NSApplication*)sender;
- (BOOL) applicationShouldTerminateAfterLastWindowClosed: (NSApplication*)theApplication;
- (void) applicationWillBecomeActive: (NSNotification*)aNotification;
- (void) applicationWillFinishLaunching: (NSNotification*)aNotification;
- (void) applicationWillHide: (NSNotification*)aNotification;
- (void) applicationWillTerminate: (NSNotification*)aNotification;
- (void) applicationWillResignActive: (NSNotification*)aNotification;
- (void) applicationWillUnhide: (NSNotification*)aNotification;
- (void) applicationWillUpdate: (NSNotification*)aNotification;