RSX Code Reference
    Preparing search index...

    Class MenuItemManager

    Tracks main menu items that are registered in TypeScript code using the MenuItem attribute.

    Index
    • Parses the given TypeScript key window for it's set of menu items.

      Parameters

      • alias: string

        The alias name of the cached image.

      • priority: number

        Priority that determines the order of the menus.

      • image: Image

        A menu item image.

      Returns boolean

    • Parses the given TypeScript key window for it's set of menu items.

      Parameters

      • alias: string

        The alias name of the cached image.

      • priority: number

        Priority that determines the order of the menus.

      • iconStyle: EnumValue<StockIcon>

        The icon style used.

      • size: number

        The current size of the icon.

      Returns boolean

      true if the icon was correctly registered.