| Function | Description |
|---|---|
| AddItem() | Adds BMenu or BMenuItem to the menu |
| AddSeparatorItem() | Adds separator item to the menu |
| Archive() | Archives a BMenu into a BMessage |
| Archived Fields | |
| AreTriggersEnabled() | Tests if triggers are enabled |
| AttachedToWindow() | Provided for implementation |
| Constructor and Destructor | |
| CountItems() | Returns number of items in the menu |
| Draw() | Provided for implementation |
| The Enabled Property | |
| FindItem() | Returns a specified BMenuItem |
| FindMarked() | Returns first marked item in the menu |
| Function Summary | |
| GetItemMargins() | protected: Returns margins around each menu item |
| Hide() | protected: Hides the menu |
| Hook Functions | |
| IndexOf() | Returns index of specified menu or submenu |
| Instantiate() | Creates a BMenu from a BMessage |
| InvalidateLayout() | Forces BMenu to recalculate the menu layout |
| IsEnabled() | Tests whether the menu is enabled |
| IsLabelFromMarked() | protected: Returns label from marked flag |
| IsRadioMode() | Tests whether the menu is in radio mode |
| ItemAt() | Returns menu at a specified index |
| B_ITEMS_IN_COLUMN | |
| B_ITEMS_IN_MATRIX | |
| B_ITEMS_IN_ROW | |
| KeyDown() | Provided for implementation |
| The Label Property | |
| Layout() | protected: Returns menu layout |
| The Mark Property | |
| MaxContentWidth() | Returns maximum width of an item's content area |
| Member Functions | |
| BMenu | |
| BMenu() | Constructor |
| ~BMenu() | Destructor |
| Menu Hierarchy | |
| The MenuItem Property | |
| Menu Items | |
| The Menu Property | |
| RemoveItem() | Removes specified item or submenu |
| ScreenLocation() | protected: Hook to position menu |
| Scripting Support | |
| SetEnabled() | Enables or disables menu |
| SetItemMargins() | protected: Sets margins around each menu item |
| SetLabelFromMarked() | protected: Sets label from marked flag |
| SetMaxContentWidth() | Sets maximum width of an item's content area |
| SetRadioMode() | Enables or disables radio mode for the menu |
| SetTargetForItems() | Sets target BHandler or BMessenger for all menu items |
| SetTriggersEnabled() | Enables or disables triggers for all menu items |
| Show() | protected: Displays the menu |
| Static Functions | |
| SubmenuAt() | Returns submenu controlled by item at specified index |
| Superitem() | Returns BMenuItem controlling the menu |
| Supermenu() | Returns BMenu controlling the menu |
| Track() | protected: Initiates tracking of cursor within menu |
| The Interface Kit Table of Contents | The Interface Kit Index |
Copyright © 2000 Be, Inc. All rights reserved..