set_uint


Description:

[ Version ( since = "2.30" ) ]
public bool set_uint (string key, uint value)

Sets key in this to value.

A convenience variant of [method@Gio.Settings.set] for 32-bit unsigned integers.

It is a programmer error to give a key that isn’t specified as having a `u` type in the schema for this (see [struct@GLib.VariantType]).

Parameters:

this

the settings object

key

the key to set the value for

value

the value to set it to

Returns:

true if setting the key succeeded, false if the key was not writable