Returns an NSPopUpButtonCell object initialized with the specified title.
Original signature is '- (id)initTextCell:(NSString *)stringValue pullsDown:(BOOL)pullDown'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public virtual Id InitTextCellPullsDown(
NSString stringValue,
bool pullDown
)
Public Overridable Function InitTextCellPullsDown ( _
stringValue As NSString, _
pullDown As Boolean _
) As Id
public:
virtual Id^ InitTextCellPullsDown(
NSString^ stringValue,
bool pullDown
)
Parameters
- stringValue (NSString)
- The title of the first menu. You may specify an empty string if you do not want to add an initial menu item.
- pullDown (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 NSPopUpButtonCell 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)