Contents

windowRef

The Carbon window reference associated with the window, creating one if necessary.

Declaration

var windowRef: UnsafeMutableRawPointer { get }

Discussion

You can use this property to create a WindowRef for a window containing a Carbon control. Subsequent accesses to this property get the existing WindowRef. You use a WindowRef to create a Carbon window reference for a Cocoa window; this assists the integration of Carbon and Cocoa code and objects.

For more information see the MacWindows.h header file.

See Also

Properties