MonobjcMonobjc Documented Class Library
InitWithFramePullsDown Method (frameRect, flag)
NamespacesMonobjc.AppKitNSPopUpButtonInitWithFramePullsDown(NSRect, Boolean)

Returns an NSPopUpButton object initialized to the specified dimensions.

Original signature is '- (id)initWithFrame:(NSRect)frameRect pullsDown:(BOOL)flag'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithFramePullsDown(
	NSRect frameRect,
	bool flag
)
Public Overridable Function InitWithFramePullsDown ( _
	frameRect As NSRect, _
	flag As Boolean _
) As Id
public:
virtual Id^ InitWithFramePullsDown(
	NSRect frameRect, 
	bool flag
)
Parameters
frameRect (NSRect)
The frame rectangle for the button, specified in the parent view's coordinate system.
flag (Boolean)
YES if you want the receiver to display a pull-down menu; otherwise, NO if you want it to display a pop-up menu.
Return Value
An initialized NSPopUpButton object, or nil if the object could not be initialized.
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)