|
Function Description 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 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
|
Copyright © 2000 Be, Inc. All rights reserved..