Derived from: BMenuBar
Declared in: myPopUpMenu.h
Library: libBeGUI.so
The MyPopUpMenu Class provides a pop up menu.
This is the constructor. The first parameter paramName, is passed directly on to the base class BMenuBar.
The parameter paramTitle is used in the Initialize() function to set the original title of the BPopUpMenu which this class contains. The parameter paramIsRadioMode is used to set the mode of the BPopUpMenu.
The parameter paramLabelTextItem is the label this MyPopUpMenu will have.
The parameter paramLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
This is the destructor. It only deletes it's name, not it's label.
This is the real workhorse of construction. It takes PopUpMenuData items from the parameter BList paramList and creates BMenuItems with the information from them. Then it adds the BMenuItems to the contained BPopUpMenu. It then performs all the font tricks required to present the menu in the system-wide menu font choice. It also calculates the needed sizes for the menu and it's label.
This just returns the width and height.
This just returns the private label string.
This just accesses the private value.
This just accesses the private value.
This just accesses the private value.
This just accesses the private value.
for version 1.4.2
Copyright © 1998-1999 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified March 17, 1999.