MonobjcMonobjc Documented Class Library
SetFrameDisplayAnimate Method (windowFrame, displayViews, performAnimation)
NamespacesMonobjc.AppKitNSWindowSetFrameDisplayAnimate(NSRect, Boolean, Boolean)

Sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen.

Original signature is '- (void)setFrame:(NSRect)windowFrame display:(BOOL)displayViews animate:(BOOL)performAnimation'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetFrameDisplayAnimate(
	NSRect windowFrame,
	bool displayViews,
	bool performAnimation
)
Public Overridable Sub SetFrameDisplayAnimate ( _
	windowFrame As NSRect, _
	displayViews As Boolean, _
	performAnimation As Boolean _
)
public:
virtual void SetFrameDisplayAnimate(
	NSRect windowFrame, 
	bool displayViews, 
	bool performAnimation
)
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.
performAnimation (Boolean)
Specifies whether the window performs a smooth resize. YES to perform the animation, whose duration is specified by animationResizeTime:.
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)