bind_with_mapping_closures


Description:

[ Version ( since = "2.82" ) ]
public void bind_with_mapping_closures (string key, Object object, string property, SettingsBindFlags flags, Closure? get_mapping, Closure? set_mapping)

Version of [method@Gio.

Settings.bind_with_mapping] using closures instead of callbacks for easier binding in other languages.

Parameters:

this

the settings object

key

the key to bind

object

the object with property to bind

property

the name of the property to bind

flags

flags for the binding

get_mapping

a function that gets called to convert values from this to object, or `NULL` to use the default GIO mapping

set_mapping

a function that gets called to convert values from object to this, or `NULL` to use the default GIO mapping