SettingsSchemaSource.lookup

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.

class SettingsSchemaSource
lookup
(
string schemaId
,)

Parameters

schemaId string

a schema ID

recursive bool

%TRUE if the lookup should be recursive

Return: a new #GSettingsSchema

Meta

Since

2.32