Class XbpMenu() Foundation
Class function of the XbpMenu class.
The XbpMenu class provides objects which display and manage vertical menus (popup menus). A popup menu can be displayed by itself (perhaps as a context menu activated by the right mouse button) or it can be part of a menu system that controls the program within a window. The menu system of a window always starts with a horizontal menu bar displayed under the title bar of the window. A horizontal menu is managed by objects of the XbpMenubar class.
The XbpMenu class is derived from XbpMenuBar and makes use of all the characteristics defined in XbpMenuBar. Constructing a popup menu is identical to constructing a horizontal menu. To define a popup menu, menu items must be specified for the menu. This is done using the method :addItem() that is described in the XbpMenuBar class (see the XbpMenuBar class for more information).
The instance variables in this group configure system resources. If changes are made to the default values, they must be made before the :create() method is executed or :configure() must be called to activate the changes.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.