SettingsSchemaSource

This is an opaque structure type. You may not access it directly.

Constructors

this
this(GSettingsSchemaSource* gSettingsSchemaSource, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(string directory, SettingsSchemaSource parent, bool trusted)

Attempts to create a new schema source corresponding to the contents of the given directory.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

doref
SettingsSchemaSource doref()

Increase the reference count of source, returning a new reference.

getSettingsSchemaSourceStruct
GSettingsSchemaSource* getSettingsSchemaSourceStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

listSchemas
void listSchemas(bool recursive, out string[] nonRelocatable, out string[] relocatable)

Lists the schemas in a given source.

lookup
SettingsSchema lookup(string schemaId, bool recursive)

Looks up a schema with the identifier schema_id in source.

unref
void unref()

Decrease the reference count of source, possibly freeing it.

Static functions

getDefault
SettingsSchemaSource getDefault()

Gets the default system schema source.

getType
GType getType()

Variables

gSettingsSchemaSource
GSettingsSchemaSource* gSettingsSchemaSource;

the main Gtk struct

Meta

Since

2.32