SettingsBindSetMapping

typealias SettingsBindSetMapping = (<Error class: unknown class>, <Error class: unknown class>) -> <Error class: unknown class>

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

  • param value a #GValue containing the property value to map

  • param expectedType the #GVariantType to create

  • return a new #GVariant holding the data from @value, or null in case of an error