MonobjcMonobjc Documented Class Library
InitWithWindowRef Method (carbonWindowRef)
NamespacesMonobjc.AppKitNSWindowInitWithWindowRef(IntPtr)

Returns a Cocoa window created from a Carbon window.

Original signature is '- (NSWindow *)initWithWindowRef:(void *)carbonWindowRef'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSWindow InitWithWindowRef(
	IntPtr carbonWindowRef
)
Public Overridable Function InitWithWindowRef ( _
	carbonWindowRef As IntPtr _
) As NSWindow
public:
virtual NSWindow^ InitWithWindowRef(
	IntPtr carbonWindowRef
)
Parameters
carbonWindowRef (IntPtr)
The Carbon WindowRef object to use to create the Cocoa window.
Return Value
A Cocoa window created from carbonWindowRef.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)