Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSMenuPopupEventsMBS class.
NSMenuPopupEventsMBS.didCloseMenu(menu as NSMenuMBS, theEvent as NSEventMBS, view as NSViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Menus | MBS MacBase Plugin | 25.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
This event runs when the menu closes.
Some examples using this event:
NSMenuPopupEventsMBS.popUpMenuAtPosition(menu as NSMenuMBS, item as NSMenuItemMBS, location as NSPointMBS, view as NSViewMBS) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Menus | MBS MacBase Plugin | 25.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Also raises willOpenMenu event later.
Return true to skip showing the menu.
Some examples using this event:
NSMenuPopupEventsMBS.willOpenMenu(menu as NSMenuMBS, theEvent as NSEventMBS, view as NSViewMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Menus | MBS MacBase Plugin | 25.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
This event runs when the menu opens.
Some examples using this event:
The items on this page are in the following plugins: MBS MacBase Plugin.
