SettingsSchemaSource.listSchemas

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.

class SettingsSchemaSource
void
listSchemas
(,
out string[] nonRelocatable
,
out string[] relocatable
)

Parameters

recursive bool

if we should recurse

nonRelocatable string[]

the list of non-relocatable schemas

relocatable string[]

the list of relocatable schemas

Meta

Since

2.40