MonobjcMonobjc Documented Class Library
NSMenu Constructor
NamespacesMonobjc.AppKitNSMenuNSMenu()()()()
Members
IconMemberDescription
NSMenu(NSString)

Initializes and returns a menu having the specified title and with autoenabling of menu items turned on.

Original signature is '- (id)initWithTitle:(NSString *)aTitle'

Available in Mac OS X v10.0 and later.


NSMenu(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


NSMenu()()()()
Initializes a new instance of the NSMenu class.

NSMenu(IntPtr)
Initializes a new instance of the NSMenu class.

NSMenu(String, Object, array<Object>[]()[][])
Initializes a new instance of the NSMenu class.

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)