Vixen
02b45cc4
csharp
public sealed class MenuModel

The whole menu bar, described.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (1)

  • public IReadOnlyList<MenuGroup> Menus

    The menus along the bar, in order.

Methods (4)

  • public MenuGroup? Find(string titleId)

    The menu with a title's id, if it is on the bar.

  • public MenuGroup AddMenu(StringId title)

    Adds a menu, or hands back the one already there under the same id.

  • public MenuGroup InsertMenu(int index, StringId title)

    Adds a menu at a place along the bar.

  • public bool Remove(MenuGroup group)

    Takes a menu off the bar.

Used by (13)

  • DeclaredContributionTestsVixen.Editor.App.Tests
  • EditorAffordanceTestsVixen.Editor.App.Tests
  • EditorApplicationVixen.Editor.App
  • EditorShellVixen.Editor.Ui
  • LoadingTestsVixen.Editor.Plugin.Tests
  • MenuBarTestsVixen.Editor.App.Tests
  • MenuCompositionTestsVixen.Editor.Ui.Tests
  • MenuPresenterVixen.Editor.Ui
  • MenuTestsVixen.Editor.Ui.Tests
  • ModuleTestsVixen.Editor.Plugin.Tests
  • OutOfTreePluginTestsVixen.Editor.App.Tests
  • PluginContextVixen.Editor.Plugin
  • ToolbarSectionTestsVixen.Editor.Ui.Tests