SettingsSchemaKey

#GSettingsSchemaKey is an opaque data structure and can only be accessed using the following functions.

Constructors

this
this(GSettingsSchemaKey* gSettingsSchemaKey, bool ownedRef)

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

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

getDefaultValue
Variant getDefaultValue()

Gets the default value for @key.

getDescription
string getDescription()

Gets the description for @key.

getName
string getName()

Gets the name of @key.

getRange
Variant getRange()

Queries the range of a key.

getSettingsSchemaKeyStruct
GSettingsSchemaKey* getSettingsSchemaKeyStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getSummary
string getSummary()

Gets the summary for @key.

getValueType
VariantType getValueType()

Gets the #GVariantType of @key.

rangeCheck
bool rangeCheck(Variant value)

Checks if the given @value is of the correct type and within the permitted range for @key.

ref_
SettingsSchemaKey ref_()

Increase the reference count of @key, returning a new reference.

unref
void unref()

Decrease the reference count of @key, possibly freeing it.

Static functions

getType
GType getType()

Variables

gSettingsSchemaKey
GSettingsSchemaKey* gSettingsSchemaKey;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta