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.

@FunctionalInterface public static interface Settings.OnSettingsBindSetMapping
  • 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 map
      expected_type - the #GVariantType to create
      user_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