Platforms to show: All Mac Windows Linux Cross-Platform

NSMenuItemMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Menus MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A class to represent a menuitem from the Cocoa world.

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.

Constants

Constant Value Description
NSMixedState -1 One of the constants for the state property. The corresponding feature is in effect somewhere.
NSOffState 0 One of the constants for the state property. The corresponding feature is in effect nowhere.
NSOnState 1 One of the constants for the state property. The corresponding feature is in effect everywhere.

This class has no sub classes.

Blog Entries

Xojo Developer Magazine

Release notes

Some methods using this class:

Some properties using for this class:

Some events using this class:

Some examples using this class:

Some related classes:


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


NSMenuItemCellMBS   -   NSMenuMBS


The biggest plugin in space...