Settings.setUint64

bool setUint64(string key, ulong value)

Sets key in settings to value.

A convenience variant of [gio.settings.Settings.set] for 64-bit unsigned integers.

It is a programmer error to give a key that isn't specified as having a uint64 type in the schema for settings.

Parameters

keythe name of the key to set
valuethe value to set it to

Returns

true if setting the key succeeded,

false if the key was not writable