SettingsSchemaKey

gio.SettingsSchemaKey is an opaque data structure and can only be accessed using the following functions.

Constructors

this
this(GSettingsSchemaKey* gSettingsSchemaKey, bool ownedRef = false)

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

Destructor

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

Members

Functions

doref
SettingsSchemaKey doref()

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

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 = false)

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 glib.VariantType of key.

rangeCheck
bool rangeCheck(Variant value)

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

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

Meta