MonobjcMonobjc Documented Class Library
RunModalForWindowRelativeToWindow Method (theWindow, docWindow)
NamespacesMonobjc.AppKitNSApplicationRunModalForWindowRelativeToWindow(NSWindow, NSWindow)

(Deprecated in Mac OS X v10.0. Use beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: instead.)

Original signature is '- (NSInteger)runModalForWindow:(NSWindow *)theWindow relativeToWindow:(NSWindow *)docWindow'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.0. Use beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: instead.")]
public virtual NSInteger RunModalForWindowRelativeToWindow(
	NSWindow theWindow,
	NSWindow docWindow
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.0. Use beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: instead.")> _
Public Overridable Function RunModalForWindowRelativeToWindow ( _
	theWindow As NSWindow, _
	docWindow As NSWindow _
) As NSInteger
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.0. Use beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: instead.")]
public:
virtual NSInteger RunModalForWindowRelativeToWindow(
	NSWindow^ theWindow, 
	NSWindow^ docWindow
)
Parameters
theWindow (NSWindow)
MISSING
docWindow (NSWindow)
MISSING
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSApplication.RunModalForWindowRelativeToWindow(Monobjc.AppKit.NSWindow,Monobjc.AppKit.NSWindow)"]

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)