Starts a modal event loop for a given window.
Original signature is '- (NSInteger)runModalForWindow:(NSWindow *)aWindow'
Available in Mac OS X v10.0 and later.
- aWindow (NSWindow)
- The window to be displayed modally. If it is not already visible, the window is centered on the screen using the value in its centermethod and made visible and key. If it is already visible, it is simply made key.
An integer indicating the reason that this method returned. See the discussion for a description of possible return values.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)