Package ch.bailu.gtk.gio
Interface Settings.OnSettingsBindSetMapping
- Enclosing class:
- Settings
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiononSettingsBindSetMapping
(CallbackHandler __self, Value value, VariantType expected_type, Pointer user_data) The type for the function that is used to convert an object property
value to a #GVariant for storing it in #GSettings.
-
Method Details
-
onSettingsBindSetMapping
Variant onSettingsBindSetMapping(CallbackHandler __self, @Nonnull Value value, @Nonnull VariantType expected_type, @Nullable Pointer user_data) The type for the function that is used to convert an object property
value to a #GVariant for storing it in #GSettings.- Parameters:
value
- a #GValue containing the property value to mapexpected_type
- the #GVariantType to createuser_data
- user data that was specified when the binding was created- Returns:
- a new #GVariant holding the data from @value, or %NULL in case of an error
-