Schnittstelle Settings.OnSettingsBindSetMapping

Umschließende Klasse:
Settings
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Settings.OnSettingsBindSetMapping
  • Methodenübersicht Linksymbol

    Modifizierer und Typ
    Methode
    Beschreibung
    onSettingsBindSetMapping(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.
  • Methodendetails Linksymbol

    • onSettingsBindSetMapping Linksymbol

      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.
      Parameter:
      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
      Gibt zurück:
      a new #GVariant holding the data from @value, or %NULL in case of an error