Tuner.Switch
A switch row for boolean settings. Requires a binding — without it the row is not created.
| Property | Type | Description |
|---|---|---|
title | string | Row title |
subtitle | string | Text under the title |
blp
Tuner.Switch {
title: _("Over Amplification");
binding: Tuner.Setting {
schema-id: "org.gnome.desktop.sound";
schema-key: "allow-volume-above-100-percent";
};
}TIP
The setting key doesn't have to be boolean: use transforms to bind a switch to a string key (ValueTransform) or to an element of a string array (FlagsTransform).