|
| JuceMainMenuHandler () |
|
| ~JuceMainMenuHandler () |
|
void | setMenu (MenuBarModel *const newMenuBarModel, const PopupMenu *newExtraAppleMenuItems, const String &recentItemsName) |
|
void | addTopLevelMenu (NSMenu *parent, const PopupMenu &child, const String &name, const int menuId, const int tag) |
|
void | updateTopLevelMenu (NSMenuItem *parentItem, const PopupMenu &menuToCopy, const String &name, const int menuId, const int tag) |
|
void | menuBarItemsChanged (MenuBarModel *) |
|
void | menuCommandInvoked (MenuBarModel *, const ApplicationCommandTarget::InvocationInfo &info) |
|
void | updateMenus (NSMenu *menu) |
|
void | invoke (const int commandId, ApplicationCommandManager *const commandManager, const int topLevelIndex) const |
|
void | invokeDirectly (const int commandId, const int topLevelIndex) |
|
void | addMenuItem (PopupMenu::MenuItemIterator &iter, NSMenu *menuToAddTo, const int topLevelMenuId, const int topLevelIndex) |
|
◆ JuceMainMenuHandler()
JuceMainMenuHandler::JuceMainMenuHandler |
( |
| ) |
|
|
inline |
◆ ~JuceMainMenuHandler()
JuceMainMenuHandler::~JuceMainMenuHandler |
( |
| ) |
|
|
inline |
◆ addMenuItem()
void JuceMainMenuHandler::addMenuItem |
( |
PopupMenu::MenuItemIterator & |
iter, |
|
|
NSMenu * |
menuToAddTo, |
|
|
const int |
topLevelMenuId, |
|
|
const int |
topLevelIndex |
|
) |
| |
|
inline |
◆ addTopLevelMenu()
void JuceMainMenuHandler::addTopLevelMenu |
( |
NSMenu * |
parent, |
|
|
const PopupMenu & |
child, |
|
|
const String & |
name, |
|
|
const int |
menuId, |
|
|
const int |
tag |
|
) |
| |
|
inline |
◆ invoke()
void JuceMainMenuHandler::invoke |
( |
const int |
commandId, |
|
|
ApplicationCommandManager *const |
commandManager, |
|
|
const int |
topLevelIndex |
|
) |
| const |
|
inline |
◆ invokeDirectly()
void JuceMainMenuHandler::invokeDirectly |
( |
const int |
commandId, |
|
|
const int |
topLevelIndex |
|
) |
| |
|
inline |
◆ menuBarItemsChanged()
void JuceMainMenuHandler::menuBarItemsChanged |
( |
MenuBarModel * |
menuBarModel | ) |
|
|
inlinevirtual |
◆ menuCommandInvoked()
This callback is made when an application command is invoked that is represented by one of the items in the menu bar model.
Implements MenuBarModel::Listener.
◆ setMenu()
void JuceMainMenuHandler::setMenu |
( |
MenuBarModel *const |
newMenuBarModel, |
|
|
const PopupMenu * |
newExtraAppleMenuItems, |
|
|
const String & |
recentItemsName |
|
) |
| |
|
inline |
◆ updateMenus()
void JuceMainMenuHandler::updateMenus |
( |
NSMenu * |
menu | ) |
|
|
inline |
◆ updateTopLevelMenu()
void JuceMainMenuHandler::updateTopLevelMenu |
( |
NSMenuItem * |
parentItem, |
|
|
const PopupMenu & |
menuToCopy, |
|
|
const String & |
name, |
|
|
const int |
menuId, |
|
|
const int |
tag |
|
) |
| |
|
inline |
◆ callback
NSObject* JuceMainMenuHandler::callback |
◆ currentModel
◆ extraAppleMenuItems
◆ instance
◆ isOpen
bool JuceMainMenuHandler::isOpen |
◆ lastUpdateTime
uint32 JuceMainMenuHandler::lastUpdateTime |
◆ recentItemsMenuName
String JuceMainMenuHandler::recentItemsMenuName |
The documentation for this class was generated from the following file: