Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSMenuItemCellMBS class.

NSMenuItemCellMBS.calcSize

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Calculates the minimum required width and height of the receiver’s menu item.

The calculated values are cached for future use. This method also calculates the sizes of individual components of the cell’s menu item and caches those values.
This method is invoked automatically when necessary. You should not need to invoke it directly.

NSMenuItemCellMBS.Constructor(image as NSImageMBS)   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The private constructor.

Don't use it.

See also:

NSMenuItemCellMBS.Constructor(text as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 17.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The constructor.

See also:

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...