Function
GioSettingsBindSetMapping
Declaration
GVariant*
(* GSettingsBindSetMapping) (
const GValue* value,
const GVariantType* expected_type,
gpointer user_data
)
Description
The type for the function that is used to convert an object property
value to a GVariant
for storing it in GSettings
.
Parameters
value |
GValue |
A |
|
The data is owned by the caller of the function. | |
expected_type |
GVariantType |
The |
|
The data is owned by the caller of the function. | |
user_data |
gpointer |
User data that was specified when the binding was created. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | GVariant |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |