Gio.SettingsSchemaSource.prototype.list_schemas

function list_schemas(recursive: Boolean): [non_relocatable: String, relocatable: String] {
    // Gjs wrapper for g_settings_schema_source_list_schemas()
}
  

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 Gio.Settings.new. Relocatable schemas are those for which you must use Gio.Settings.new_with_path.

Do not call this function from normal programs. This is designed for use by database editors, commandline tools, etc.

Since 2.40

recursive

if we should recurse

non_relocatable

the list of non-relocatable schemas

relocatable

the list of relocatable schemas