ISUplink:ismenuitem (Object Type)

From Lavish Software Wiki
Revision as of 04:17, 26 November 2008 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Description

Object Type Vitals
ismenuitem
Defined By Inner Space Uplink
Inherits none
Reduces To Same as ID
Variable Object Type none
Uses Sub-Types no
C/C++ Type CustomMenuItem *

A custom menu item on the Inner Space menu. It might be a command, a separator, or a sub-menu. This type is always derived (inherited by another type).

Members

  • string Type: The type of menu item, will be one of command, separator, or menu
  • string Name: The name of the menu item
  • int ID: The ID of the menu item (can be used with the ISMenu Top-Level Object to refer directly to the menu item)
  • ismenu Parent: The parent of the menu item (the menu it is under), if any
  • ... Next: The next menu item in the current menu. The return type will be one of ismenu, ismenucommand, or ismenuseparator
  • ... Previous: The previous menu item in the current menu. The return type will be one of ismenu, ismenucommand, or ismenuseparator

Methods

  • Remove: Removes the menu item (and any of its children)
  • Rename[new name]: Renames the menu item

Examples

See Also