6.23 GSettingsBindSetMapping

Callback: GSettingsBindSetMapping

A procedure given for it is called as (procedure value expected-type) ⇒ %return.

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

value

Passed: a <GValue>.

the property value to map

expected-type

Passed: a <GVariantType>.

expected type of the result

%return

Returned: a <GVariant>, or #f.

a new <GVariant> holding the data from value, or NULL in case of an error

user-data

Not passed: it is the user data that guile-gi supplied.

user data that was specified when the binding was created