Sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen.
Original signature is '- (void)setFrame:(NSRect)windowFrame display:(BOOL)displayViews'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public virtual void SetFrameDisplay(
NSRect windowFrame,
bool displayViews
)
Public Overridable Sub SetFrameDisplay ( _
windowFrame As NSRect, _
displayViews As Boolean _
)
public:
virtual void SetFrameDisplay(
NSRect windowFrame,
bool displayViews
)
Parameters
- windowFrame (NSRect)
- The frame rectangle for the window, including the title bar.
- displayViews (Boolean)
- Specifies whether the window redraws the views that need to be displayed. When YES the window sends a displayIfNeeded message down its view hierarchy, thus redrawing all views.
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)