Lists the schemas in a given source.
If recursive is true then include parent sources. If false then
only include the schemas from one source (ie: one directory). You
probably want true.
Non-relocatable schemas are those for which you can call
g_settings_new(). Relocatable schemas are those for which you must
use g_settings_new_with_path().
Do not call this function from normal programs. This is designed for use by database editors, commandline tools, etc.
if we should recurse
Looks up a schema with the identifier schema_id in source.
This function is not required for normal uses of Gio.Settings but it may be useful to authors of plugin management systems or to those who want to introspect the content of schemas.
If the schema isn't found directly in source and recursive is true
then the parent sources will also be checked.
If the schema isn't found, null is returned.
a schema ID
true if the lookup should be recursive
a new Gio.SettingsSchema
Increase the reference count of source, returning a new reference.
a new reference to source
Decrease the reference count of source, possibly freeing it.
Staticget_Gets the default system schema source.
This function is not required for normal uses of Gio.Settings but it may be useful to authors of plugin management systems or to those who want to introspect the content of schemas.
If no schemas are installed, null will be returned.
The returned source may actually consist of multiple schema sources
from different directories, depending on which directories were given
in XDG_DATA_DIRS and GSETTINGS_SCHEMA_DIR. For this reason, all
lookups performed against the default source should probably be done
recursively.
Staticnew_
This is an opaque structure type. You may not access it directly.
Since
2.32