SettingsBindSetMappingShared


Description:

[ CCode ( cname = "GSettingsBindSetMapping" , has_target = false ) ]
public delegate Variant SettingsBindSetMappingShared (Value value, VariantType expected_type, void* user_data)

The type for the function that is used to convert an object property value to a [struct@GLib.

Variant] for storing it in [class@Gio.Settings].

Parameters:

value

the property value to map

expected_type

expected type of the result

user_data

user data that was specified when the binding was created

Returns:

a new [struct@GLib.Variant] holding the data from value, or `NULL` in case of an error


Namespace: GLib
Package: gio-2.0