(* GSettingsBindSetMapping) (
  const GValue* value,
  const GVariantType* expected_type,
  gpointer user_data

Description [src]

The type for the function that is used to convert an object property value to a GVariant for storing it in GSettings.


value GValue

A GValue containing the property value to map.

 The data is owned by the caller of the function.
expected_type GVariantType

The GVariantType to create.

 The data is owned by the caller of the function.
user_data gpointer

User data that was specified when the binding was created.

Return value

Returns: GVariant

A new GVariant holding the data from value, or NULL in case of an error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.