MenuTableList Class (Python)

The MenuTableList class provides access to the list of available menu items for a data, output, or syntax document. You obtain a MenuTableList object from the GetMenuTable method of an SpssDataDoc, SpssOutputDoc, or SpssSyntaxDoc object.

A MenuTableList object is not an iterable Python object. In order to iterate over the items in the list, use a for loop, as in:

for index in range(MenuTableList.Size()):

For an example that uses the MenuTableList class, see the example for the SpssMenuItem class.