Lines Matching refs:submenu

560 					// if we have no submenu and we're an
804 BMenu::AddItem(BMenu* submenu)
806 BMenuItem* item = new (nothrow) BMenuItem(submenu);
821 BMenu::AddItem(BMenu* submenu, int32 index)
828 BMenuItem* item = new (nothrow) BMenuItem(submenu);
843 BMenu::AddItem(BMenu* submenu, BRect frame)
850 BMenuItem* item = new (nothrow) BMenuItem(submenu);
935 BMenu::RemoveItem(BMenu* submenu)
939 == submenu) {
978 BMenu::IndexOf(BMenu* submenu) const
981 if (ItemAt(i)->Submenu() == submenu)
1770 // TODO: check that submenu looper is running and handle it
1772 BMenu *submenu = NULL;
1776 submenu = item->Submenu();
1777 if (submenu != NULL) {
1779 return submenu->_ScriptReceived(message);
2060 // first we check if mouse is inside a submenu,
2072 // Since the submenu has its own looper,
2079 // been selected and that it has a submenu. Because keyboard and
2082 // to the submenu.
2084 BMenu* submenu = fSelected->Submenu();
2086 if (submenu != NULL) {
2087 submenu->_SetStickyMode(_IsStickyMode());
2089 // The following call blocks until the submenu
2091 // pointer goes out of the submenu's bounds, or because
2093 BMenuItem* submenuItem = submenu->_Track(&submenuAction);
2100 // close the submenu:
2129 // If there's no other submenu opened,
2213 // submenus, as the cursor can be moved to submenu items directly instead
2214 // of having to move it horizontally into the submenu first. The concept
2246 BMenu* submenu = fSelected->Submenu();
2248 if (submenu != NULL) {
2335 // Don't delay opening of submenu if the user had
2615 bool submenu = false;
2657 submenu = true;
2680 if (submenu) {