Table of Contents

Class SettingsSchemaSource

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class SettingsSchemaSource
Inheritance
SettingsSchemaSource
Inherited Members

Methods

GetDefault()

Calls native function g_settings_schema_source_get_default. Version: 2.32

[Version("2.32")]
public static extern SettingsSchemaSourceUnownedHandle GetDefault()

Returns

SettingsSchemaSourceUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function g_settings_schema_source_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

ListSchemas(SettingsSchemaSourceHandle, bool, out Utf8StringArrayNullTerminatedOwnedHandle, out Utf8StringArrayNullTerminatedOwnedHandle)

Calls native method g_settings_schema_source_list_schemas. Version: 2.40

[Version("2.40")]
public static extern void ListSchemas(SettingsSchemaSourceHandle source, bool recursive, out Utf8StringArrayNullTerminatedOwnedHandle nonRelocatable, out Utf8StringArrayNullTerminatedOwnedHandle relocatable)

Parameters

source SettingsSchemaSourceHandle

Transfer ownership: None Nullable: False

recursive bool

Transfer ownership: None Nullable: False

nonRelocatable Utf8StringArrayNullTerminatedOwnedHandle

Transfer ownership: Full Nullable: False

relocatable Utf8StringArrayNullTerminatedOwnedHandle

Transfer ownership: Full Nullable: False

Lookup(SettingsSchemaSourceHandle, NonNullableUtf8StringHandle, bool)

Calls native method g_settings_schema_source_lookup. Version: 2.32

[Version("2.32")]
public static extern SettingsSchemaOwnedHandle Lookup(SettingsSchemaSourceHandle source, NonNullableUtf8StringHandle schemaId, bool recursive)

Parameters

source SettingsSchemaSourceHandle

Transfer ownership: None Nullable: False

schemaId NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

recursive bool

Transfer ownership: None Nullable: False

Returns

SettingsSchemaOwnedHandle

Transfer ownership: Full Nullable: True

NewFromDirectory(NonNullablePlatformStringHandle, SettingsSchemaSourceHandle, bool, out ErrorOwnedHandle)

Calls native constructor g_settings_schema_source_new_from_directory. Version: 2.32

[Version("2.32")]
public static extern SettingsSchemaSourceOwnedHandle NewFromDirectory(NonNullablePlatformStringHandle directory, SettingsSchemaSourceHandle parent, bool trusted, out ErrorOwnedHandle error)

Parameters

directory NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

parent SettingsSchemaSourceHandle

Transfer ownership: None Nullable: True

trusted bool

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

SettingsSchemaSourceOwnedHandle

Transfer ownership: Full Nullable: False

Ref(SettingsSchemaSourceHandle)

Calls native method g_settings_schema_source_ref. Version: 2.32

[Version("2.32")]
public static extern SettingsSchemaSourceOwnedHandle Ref(SettingsSchemaSourceHandle source)

Parameters

source SettingsSchemaSourceHandle

Transfer ownership: None Nullable: False

Returns

SettingsSchemaSourceOwnedHandle

Transfer ownership: Full Nullable: False

Unref(SettingsSchemaSourceHandle)

Calls native method g_settings_schema_source_unref. Version: 2.32

[Version("2.32")]
public static extern void Unref(SettingsSchemaSourceHandle source)

Parameters

source SettingsSchemaSourceHandle

Transfer ownership: None Nullable: False