[ Version ( since = "2.26" ) ]
public bool set_value (string key, Variant value)
Sets key in this to value.
It is a programmer error to give a key that isn’t contained in the schema for this or
for value to have the incorrect type, per the schema.
If value is floating then this function consumes the reference.
| this |
the settings object |
| key |
the key to set the value for |
| value |
a [struct@GLib.Variant] of the correct type |
|
true if setting the key succeeded, false if the key was not writable |