BMenuItem Summary


Function Summary

Function Description
Archive() Archives a BMenuItem into a BMessage
ContentLocation() protected: Returns location of item's content area
Draw() protected: Draws the menu item
DrawContent() protected: Draws the item label
Frame() Returns frame rectangle of menu item
GetContentSize() protected: Returns size of item's content area
Highlight() protected: Sets or removes highlight of item
Instantiate() Creates a BMenuItem from a BMessage
Invoke() protected: Provided for implementation
IsEnabled() Tests whether the item is enabled
IsMarked() Tests whether the item is marked
IsSelected() protected: Tests whether the item is selected
Label() Returns item's label
Menu() Returns menu to which the item is attached
BMenuItem() Constructor
~BMenuItem() Destructor
SetEnabled() Enables or disables item
SetLabel() Sets item's label
SetMarked() Marks or unmarks item
SetShortcut() Sets item's shortcut character
SetTrigger() Sets item's trigger character
Shortcut() Returns item's shortcut character
Submenu() Returns the submenu that the item controls
Trigger() Returns item's trigger character
TruncateLabel() protected: Fits item's label to specified width


The Interface Kit Table of Contents The Interface Kit Index


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

Copyright © 1999 Be, Inc. All rights reserved.

Text last modified June 5, 1999.