lookup

fun lookup(schemaId: String, recursive: Boolean): SettingsSchema?

Looks up a schema with the identifier @schema_id in @source.

This function is not required for normal uses of #GSettings 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.

Return

a new #GSettingsSchema

Since

2.32

Parameters

schemaId

a schema ID

recursive

true if the lookup should be recursive