Platforms to show: All Mac Windows Linux Cross-Platform
NSMenuPopupEventsMBS class New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Menus | MBS MacBase Plugin | 25.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
While the MenuItem class in Xojo can do some things, we like to use our NSMenuMBS and NSMenuItemMBS classes to modify the menu even more.
- 3 events
- event didCloseMenu(menu as NSMenuMBS, theEvent as NSEventMBS, view as NSViewMBS)
- event popUpMenuAtPosition(menu as NSMenuMBS, item as NSMenuItemMBS, location as NSPointMBS, view as NSViewMBS) as Boolean
- event willOpenMenu(menu as NSMenuMBS, theEvent as NSEventMBS, view as NSViewMBS)
- 2 methods
- method Constructor
- method Destructor
This class has no sub classes.
Some examples using this class:
Blog Entries
Release notes
- Version 25.0
- Added NSMenuPopupEventsMBS class.
The items on this page are in the following plugins: MBS MacBase Plugin.
NSMenuMBS - NSMenuToolbarItemMBS