Class SettingsSchemaSource
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
SettingsSchemaSourceHandleTransfer ownership: None Nullable: False
recursive
boolTransfer ownership: None Nullable: False
nonRelocatable
Utf8StringArrayNullTerminatedOwnedHandleTransfer ownership: Full Nullable: False
relocatable
Utf8StringArrayNullTerminatedOwnedHandleTransfer 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
SettingsSchemaSourceHandleTransfer ownership: None Nullable: False
schemaId
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
recursive
boolTransfer 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
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
parent
SettingsSchemaSourceHandleTransfer ownership: None Nullable: True
trusted
boolTransfer 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
SettingsSchemaSourceHandleTransfer 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
SettingsSchemaSourceHandleTransfer ownership: None Nullable: False