@get


Description:

[ CCode ( sentinel = "" ) ]
[ Version ( since = "2.26" ) ]
public void @get (string key, string format, ...)

Gets the value that is stored at key in this.

A convenience function that combines [method@Gio.Settings.get_value] with [method@GLib.Variant.get].

It is a programmer error to give a key that isn’t contained in the schema for this or for the [struct@GLib.VariantType] of format to mismatch the type given in the schema.

Parameters:

this

the settings object

key

the key to get the value for

format

a [struct@GLib.Variant] format string

...

arguments as per format