Name
NSWindow — Mac OS X 10.0
Synopsis
This class declares an interface to application windows and is one of the
key components of the Application Kit architecture.
NSWindow
objects are responsible for managing and
displaying a hierarchy of views within the window, as well as
handling mouse and keyboard events that occur in the window.
|
@interface NSWindow : NSResponder
|
// Initializers
|
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag; |
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(NSScreen *)screen; |
- (NSWindow *)initWithWindowRef:(void * /* WindowRef */)windowRef; |
- (NSView *)initialFirstResponder;
|
// Accessor Methods
|
- (void)setAspectRatio:(NSSize)ratio; |
- (NSSize)aspectRatio;
|
- (void)setOrderedIndex:(int)index; |
- (int)orderedIndex;
|
- (void)setIsVisible:(BOOL)flag; |
- (BOOL)isVisible;
|
- (void)setTitle:(NSString *)aString; |
- (NSString *)title;
|
- (void)setIsMiniaturized:(BOOL)flag; |
- (BOOL)isMiniaturized;
|
- (void)setRepresentedFilename:(NSString *)aString; |
- (NSString *)representedFilename;
|
- (void)setTitleWithRepresentedFilename:(NSString *)filename; |
- (void)setExcludedFromWindowsMenu:(BOOL)flag; |
- (void)setIsZoomed:(BOOL)flag; |
- (BOOL)isZoomed;
|
- (void) ... |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.