Type Alias

NSDeviceDescriptionKey

These constants are the keys for device description dictionaries used by deviceDescription.

Declaration

typedef NSString *NSDeviceDescriptionKey;

Topics

Type Properties

NSDeviceBitsPerSample

The corresponding value is an NSNumber object containing an integer that gives the bit depth of the window’s raster image (2-bit, 8-bit, and so forth).

NSDeviceColorSpaceName

The corresponding value is an NSString object giving the name of the window’s color space.

NSDeviceIsPrinter

If there is a corresponding value, this indicates that the display device is a printer.

NSDeviceIsScreen

If there is a corresponding value, this indicates that the display device is a screen.

NSDeviceResolution

The corresponding value is an NSValue object containing a value of type NSSize that describes the window’s raster resolution in dots per inch (dpi).

NSDeviceSize

The corresponding value is an NSValue object containing a value of type NSSize that gives the size of the window’s frame rectangle.

See Also

Accessing Window Information

defaultDepthLimit

Returns the default depth limit for instances of NSWindow.

windowNumber

The window number of the window’s window device.

+ windowNumbersWithOptions:

Returns the window numbers for all visible windows satisfying the specified options.

deviceDescription

A dictionary containing information about the window’s resolution, such as color, depth, and so on.

canBecomeVisibleWithoutLogin

A Boolean value that indicates whether the window can be displayed at the login window.

sharingType

A Boolean value that indicates the level of access other processes have to the window’s content.

backingType

The window’s backing store type.

depthLimit

The depth limit of the window.

hasDynamicDepthLimit

A Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on.