SettingsGetMapping
Description:
[ CCode ( instance_pos = 2.9 ) ]
public delegate bool SettingsGetMapping (Variant? value, out void* result)
public delegate bool SettingsGetMapping (Variant? value, out void* result)
The type of the function that is used to convert from a value stored in a [class@Gio.
Settings] to a value that is useful to the application.
If the value is successfully mapped, the result should be stored at result and true returned. If mapping fails (for example, if
value is not in the right format) then false should be returned.
If value is `NULL` then it means that the mapping function is being given a ‘last chance’ to successfully return a valid
value. True must be returned in this case.
Parameters:
| value |
variant to map to the application value |
| result |
the result of the mapping |
| user_data |
the user data that was passed to [method@Gio.Settings.get_mapped] |
Returns:
|
true if the conversion succeeded, false in case of an error |
Namespace: GLib
Package: gio-2.0