Lines Matching refs:item
1372 BMenuItem* item = menu->FindItem(itemName);
1373 if (item != NULL)
1374 item->SetEnabled(on);
1381 BMenuItem* item = menu->FindItem(itemName);
1382 if (item != NULL)
1383 item->SetMarked(on);
1390 BMenuItem* item = menu->FindItem(commandName);
1391 if (item != NULL)
1392 item->SetEnabled(on);
1399 BMenuItem* item = menu->FindItem(commandName);
1400 if (item != NULL)
1401 item->SetMarked(on);
1416 BMenuItem* item = menu->RemoveItem((int32)0);
1417 if (item == NULL)
1420 delete item;
1530 BMenuItem* item = menu->ItemAt(index);
1531 BMenuItem* newItem = (func)(item);
1552 BMenuItem* item = menu->ItemAt(index);
1553 BMenuItem* newItem = (func)(item);
1634 // use the window position only, if the item was invoked from the menu
1635 // menu->Window() points to the window the item was invoked from