ISUplink:ismenuitem (Object Type)

From Lavish Software Wiki
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