Up
Authors
- Scott Christley(
scottc@net-community.com
)
-
- Felipe A. Rodriguez(
far@ix.netcom.com
)
-
- Richard Frith-Macdonald(
richard@brainstorm.co.uk
)
-
The one and only application class
Copyright: (C) 1996,1999 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSApplication.h
- Conforms to:
- NSCoding
Standards:
Description forthcoming.
Method summary
+ (void) detachDrawingThread: (SEL)selector toTarget: (id)target withObject: (id)argument;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
+ (NSApplication*) sharedApplication;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) abortModal;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) activateIgnoringOtherApps: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) addWindowsItem: (NSWindow*)aWindow title: (NSString*)aString filename: (BOOL)isFilename;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSImage*) applicationIconImage;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) arrangeInFront: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSModalSession) beginModalSessionForWindow: (NSWindow*)theWindow;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) beginSheet: (NSWindow*)sheet modalForWindow: (NSWindow*)docWindow modalDelegate: (id)modalDelegate didEndSelector: (SEL)didEndSelector contextInfo: (void*)contextInfo;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (void) changeWindowsItem: (NSWindow*)aWindow title: (NSString*)aString filename: (BOOL)isFilename;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSGraphicsContext*) context;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSEvent*) currentEvent;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) deactivate;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (id) delegate;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) discardEventsMatchingMask: (unsigned int)mask beforeEvent: (NSEvent*)lastEvent;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) encodeWithCoder: (NSCoder*)aCoder;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) endModalSession: (NSModalSession)theSession;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) endSheet: (NSWindow*)sheet;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (void) endSheet: (NSWindow*)sheet returnCode: (int)returnCode;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (void) finishLaunching;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) hide: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) hideOtherApplications: (id)sender;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (id) initWithCoder: (NSCoder*)aDecoder;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (BOOL) isActive;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (BOOL) isHidden;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (BOOL) isRunning;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSWindow*) keyWindow;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSMenu*) mainMenu;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSWindow*) mainWindow;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSWindow*) makeWindowsPerform: (SEL)aSelector inOrder: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) miniaturizeAll: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSWindow*) modalWindow;
Standards: GNUstep, MacOS-X, OpenStep
Returns the window that is part of the current
modal session, if any.
- (NSEvent*) nextEventMatchingMask: (unsigned int)mask untilDate: (NSDate*)expiration inMode: (NSString*)mode dequeue: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) orderFrontColorPanel: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) orderFrontDataLinkPanel: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) orderFrontHelpPanel: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) orderFrontStandardAboutPanel: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) orderFrontStandardAboutPanelWithOptions: (NSDictionary*)dictionary;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) orderFrontStandardInfoPanel: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) orderFrontStandardInfoPanelWithOptions: (NSDictionary*)dictionary;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) postEvent: (NSEvent*)event atStart: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) preventWindowOrdering;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) registerServicesMenuSendTypes: (NSArray*)sendTypes returnTypes: (NSArray*)returnTypes;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) removeWindowsItem: (NSWindow*)aWindow;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) reportException: (NSException*)anException;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) run;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (int) runModalForWindow: (NSWindow*)theWindow;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (int) runModalForWindow: (NSWindow*)theWindow relativeToWindow: (NSWindow*)docWindow;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (int) runModalSession: (NSModalSession)theSession;
Standards: GNUstep, MacOS-X, OpenStep
Processes one event for a modal session
described by the theSession
variable. Before processing the event, it makes
the session window key and orders the window front,
so there is no need to do this separately. When
finished, it returns the state of the session
(i.e. whether it is still running or has been
stopped, etc)
- (void) runPageLayout: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (BOOL) sendAction: (SEL)aSelector to: (id)aTarget from: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) sendEvent: (NSEvent*)theEvent;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSMenu*) servicesMenu;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (id) servicesProvider;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) setAppleMenu: (NSMenu*)aMenu;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (void) setApplicationIconImage: (NSImage*)anImage;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) setDelegate: (id)anObject;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) setMainMenu: (NSMenu*)aMenu;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) setServicesMenu: (NSMenu*)aMenu;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) setServicesProvider: (id)anObject;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) setWindowsMenu: (NSMenu*)aMenu;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) setWindowsNeedUpdate: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) stop: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) stopModal;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) stopModalWithCode: (int)returnCode;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (id) targetForAction: (SEL)aSelector;
Standards: GNUstep, MacOS-X, OpenStep
Returns the target object that will respond to
aSelector, if any. The method first
checks if any of the key window's first
responders, the key window or its delegate
responds. Next it checks the main window in the
same way. Finally it checks the receiver
(NSApplication) and it's delegate.
- (id) targetForAction: (SEL)theAction to: (id)theTarget from: (id)sender;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (void) terminate: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (BOOL) tryToPerform: (SEL)aSelector with: (id)anObject;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) unhide: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) unhideAllApplications: (id)sender;
Standards: NotOpenStep, GNUstep, MacOS-X
Description forthcoming.
- (void) unhideWithoutActivation;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) updateWindows;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (void) updateWindowsItem: (NSWindow*)aWindow;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (id) validRequestorForSendType: (NSString*)sendType returnType: (NSString*)returnType;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSWindow*) windowWithWindowNumber: (int)windowNum;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSArray*) windows;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (NSMenu*) windowsMenu;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- Declared in:
- AppKit/NSApplication.h
Standards:
Description forthcoming.
Method summary
- (NSWindow*) iconWindow;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) readSelectionFromPasteboard: (NSPasteboard*)pboard;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard types: (NSArray*)types;
Standards: GNUstep, MacOS-X, OpenStep
Description forthcoming.
- Declared in:
- AppKit/NSApplication.h
Standards:
- NotOpenStep
- NotMacOS-X
- GNUstep
Description forthcoming.
Method summary
- (BOOL) application: (NSApplication*)app openFile: (NSString*)filename;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) application: (NSApplication*)app openFileWithoutUI: (NSString*)filename;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) application: (NSApplication*)app openTempFile: (NSString*)filename;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) application: (NSApplication*)theApplication printFile: (NSString*)filename;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationDidBecomeActive: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationDidFinishLaunching: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationDidHide: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationDidResignActive: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationDidUnhide: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationDidUpdate: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) applicationOpenUntitledFile: (NSApplication*)app;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) applicationShouldOpenUntitledFile: (NSApplication*)sender;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) applicationShouldTerminate: (id)sender;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (BOOL) applicationShouldTerminateAfterLastWindowClosed: (id)sender;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationWillBecomeActive: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationWillFinishLaunching: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationWillHide: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationWillResignActive: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationWillTerminate: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationWillUnhide: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
- (void) applicationWillUpdate: (NSNotification*)aNotification;
Standards: NotOpenStep, NotMacOS-X, GNUstep
Description forthcoming.
Up