The Be Book The Interface Kit The Interface Kit Index

BMenu Function Summary


Function Summary

Function Description
AddItem() Adds BMenu or BMenuItem to the menu
AddSeparatorItem() Adds separator item to the menu
Archive() Archives a BMenu into a BMessage
AreTriggersEnabled() Tests if triggers are enabled
AttachedToWindow() Provided for implementation
CountItems() Returns number of items in the menu
Draw() Provided for implementation
FindItem() Returns a specified BMenuItem
FindMarked() Returns first marked item in the menu
GetItemMargins() protected: Returns margins around each menu item
Hide() protected: Hides the menu
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
KeyDown() Provided for implementation
Layout() protected: Returns menu layout
MaxContentWidth() Returns maximum width of an item's content area
BMenu() Constructor
~BMenu() Destructor
RemoveItem() Removes specified item or submenu
ScreenLocation() protected: Hook to position menu
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
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 Be Book The Interface Kit The Interface Kit Index

The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..