Table of Contents

Class SettingsScope

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

The root object of Terminal.Gui configuration settings / JSON schema. Contains only properties attributed with SettingsScope.

[JsonConverter(typeof(ScopeJsonConverter<SettingsScope>))]
public class SettingsScope : Scope<SettingsScope>, IDictionary<string, ConfigProperty>, ICollection<KeyValuePair<string, ConfigProperty>>, IReadOnlyDictionary<string, ConfigProperty>, IReadOnlyCollection<KeyValuePair<string, ConfigProperty>>, IEnumerable<KeyValuePair<string, ConfigProperty>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable
Inheritance
SettingsScope
Implements
Inherited Members

Examples

{
  "$schema" : "https://gui-cs.github.io/Terminal.GuiV2Docs/schemas/tui-config-schema.json",
  "Application.UseSystemConsole" : true,
  "Theme" : "Default",
  "Themes": {
  },
},

Fields

Sources

The list of paths to the configuration files.

Properties

Schema

Points to our JSON schema.

Methods

Update(Stream, string)

Updates the SettingsScope with the settings in a JSON string.

Update(string)

Updates the SettingsScope with the settings in a JSON file.

Update(string, string)

Updates the SettingsScope with the settings in a JSON string.

UpdateFromResource(Assembly, string)

Updates the SettingsScope with the settings from a Json resource.