[ CCode ( sentinel = "" ) ]
[ Version ( since = "2.26" ) ]
public bool @set (string key, string format, ...)
Sets key
in this to value
.
A convenience function that combines set_value with Variant.
It is a programmer error to give a key
that isn't contained in the schema for this or for
the VariantType of format
to mismatch the type given in the schema.
this |
a Settings object |
key |
the name of the key to set |
format |
a Variant format string |
... |
arguments as per |
true if setting the key succeeded, false if the key was not writable |