class MenuItem

A MenuItem represents a menu item or item group.

This class is not very useful yet. You can't construct MenuItems directly; the only way to obtain one is from an existing Menu or MenuList using the item_with_command method, and you currently can't change any of its properties. Facilities for doing these things are planned.