Method XbpMenuBar():getItem() Foundation

Returns the specified menu item from the menu object.

Syntax
:getItem( <nItemIndex> ) --> aItem
Parameters
<nItemIndex>
<nItemIndex> is a numeric value indicating the ordinal position within the menu object of the menu item returned.
Return

This method returns an array containing four elements. These elements provide information about the specified menu item.

Description

The :getItem() method returns a specific menu item from a menu object. The menu item is returned as an array of four elements. This array has the same structure as the array passed to the :addItem()method. For more information on the individual array elements see the discussion of the :addItem() method.

Feedback

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.