DekGenius.com
[ Team LiB ] Previous Section Next Section

NSScreen Mac OS X 10.0

This class represents a user's monitor, and allows clients to ascertain properties of the display such as width and height in pixels, or color bit-depth. This class works only in the presence of an instance of NSApplication; NSScreen requires that an application have a connection to the window server to obtain information about the screen, which is provided by NSApplication.

figs/cocn_1581.gif

@interface NSScreen : NSObject
 // Convenience Constructors
   + (NSArray *)screens;
 // Class Methods
   + (NSScreen *)deepestScreen;
   + (NSScreen *)mainScreen;
 // Instance Methods
   - (NSWindowDepth)depth;
   - (NSDictionary *)deviceDescription;
   - (NSRect)frame;
   - (const NSWindowDepth *)supportedWindowDepths;
   - (NSRect)visibleFrame;

    [ Team LiB ] Previous Section Next Section