public record class SettingsCategoryOne page of a settings window: a line in the rail, and what fills the pane.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A factory rather than an element, for PanelDescriptor's reason. A settings window with nine pages builds one; building the other eight would stand up nine inspectors over nine settings objects the user has not asked to look at. It is also what makes Revert a rebuild rather than nine drawers each having to know how to un-edit themselves.
Fields and properties (5)
public string IdWhat a saved selection and a search result call it.
public StringId TitleWhat the rail says.
public Action<UiElement> BuildFills the pane. Called the first time the page is shown, and again after a revert.
public Action? ResetPuts this page's settings back to their defaults, or if it cannot.
public Func<IEnumerable<string>>? KeywordsThe words a search over every setting should match this page on.
Methods (1)
Used by (3)
- EditorApplicationVixen.Editor.App
- SettingsViewVixen.Editor.Ui
- SettingsWindowTestsVixen.Editor.App.Tests