Lines Matching refs:menu

95 	// Used to track when the menu would be drawn offscreen and instead gets
141 { B_DIRECT_SPECIFIER, 0 }, "Returns true if menu or menu item is "
147 { B_DIRECT_SPECIFIER, 0 }, "Enables or disables menu or menu item.",
152 { B_DIRECT_SPECIFIER, 0 }, "Returns the string label of the menu or "
153 "menu item.",
158 { B_DIRECT_SPECIFIER, 0 }, "Sets the string label of the menu or menu "
164 { B_DIRECT_SPECIFIER, 0 }, "Returns true if the menu item or the "
165 "menu's superitem is marked; false otherwise.",
170 { B_DIRECT_SPECIFIER, 0 }, "Marks or unmarks the menu item or the "
171 "menu's superitem.",
177 "Adds a new menu item at the specified index with the text label "
186 "Removes the selected menu or menus.", 0, {}
191 "Directs scripting message to the specified menu, first popping the "
196 { B_DIRECT_SPECIFIER, 0 }, "Counts the number of menu items in the "
197 "specified menu.",
203 "Adds a new menu item at the specified index with the text label "
215 "Removes the specified menu item from its parent menu."
220 "Invokes the specified menu item."
225 "Directs scripting message to the specified menu, first popping the "
419 // The menu should be added to the menu hierarchy and made visible if:
420 // * the mouse is over the menu,
421 // * the user has requested the menu via the keyboard.
423 // fAttachAborted will return false if the mouse isn't over the menu
535 // If we're at the top menu below the menu bar, pass
536 // the keypress to the menu bar so we can move to
537 // another top level menu.
561 // item in the top menu below the menubar,
598 // Keyboard may show menu without tracking it
716 // invalidate the menu layout, but we also use call
741 "be called if the menu layout is not B_ITEMS_IN_MATRIX");
774 "be called if the menu layout is B_ITEMS_IN_MATRIX");
825 "be called if the menu layout is not B_ITEMS_IN_MATRIX");
847 "be called if the menu layout is B_ITEMS_IN_MATRIX");
1221 status_t err = data->AddString("suites", "suite/vnd.Be-menu");
1681 // Delete the menu window used by our submenus
2061 // then if the mouse is inside this menu,
2062 // then if it's over a super menu.
2078 // To prevent NULL access violation, ensure a menu has actually
2080 // mouse interactions set selected items differently, the menu
2092 // the user closes the menu
2128 // Mouse pointer outside menu:
2158 // so we don't interfere with keyboard menu navigation
2198 // delete the menu window recycled for all the child menus
2413 // or onto our window, if we are a root menu
2551 // When the menu is modified while it's open, we get here in a
2553 // (the window is locked waiting for the menu to terminate).
2555 // and keep the menu at the current width and position.
2628 // all while computing the width of the menu
2798 // Reset frame shifted state since this menu is being redrawn
2803 // a _BMCMenuBar_ to "fake" the menu hierarchy
2806 // Offset the menu field menu window left by the width of the checkmark
2807 // so that the text when the menu is closed lines up with the text when
2808 // the menu is open.
2854 // that the menu frame won't fit completely inside the screen
2915 // Lock the root menu window before calling BMenuItem::Invoke()
2964 snprintf(windowName, 64, "%s cached menu", Name());
2988 // if the point doesn't lie within the menu's
3090 if (CountItems() == 0) // cannot select next item in an empty menu
3118 // Cycle through menu items in the given direction...
3150 // propagate the status to the super menu
3441 // Close the whole menu hierarchy
3503 BMenu* menu, bool descendants)
3505 menu->InvalidateLayout();