State Saving
Define Settings Keys
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema path="/io/github/yourusername/yourrepositoryname/" id="io.github.yourusername.yourrepositoryname">
<key name="useless-setting" type="b">
<default>false</default>
<summary>Useless Setting</summary>
<description>Whether the switch is toggled</description>
</key>
</schema>
</schemalist>Use The Settings Object
Install and Compile Schemas with Meson
Last updated
Was this helpful?