These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

Abstract : MenuItem

Class description:

The MenuItem class holds menu items associated with objects. Menus can be associated with Mobile objects, in which case they are shown as contextual menu items, or associated with Control objects in which case they are shown under the global application menu.

Methods:

  • check
  • createMenu
  • disable
  • enable
  • uncheck
    check( self )

    Places a check mark next to the menu item.


    createMenu( self, menuName, theObject, methodName )

    This method initializes a menu item with title menuName for theObject which will call methodName when selected.


    disable( self )

    Disables the menu item such that it cannot be selected.


    enable( self )

    Enables a menu item, if it is disabled.


    uncheck( self )

    Removes the check mark next to the menu item, if it exists.