Settings.bindWithMapping

Like panel.settings.Settings.bind but allows transforming to and from settings storage using get_mapping and set_mapping transformation functions.

Call panel.settings.Settings.unbind to unbind the mapping.

Parameters

key string

The settings key

object void*

the object to bind to

property string

the property of object to bind to

flags gio.types.SettingsBindFlags

flags for the binding

getMapping gio.types.SettingsBindGetMapping

variant to value mapping

setMapping gio.types.SettingsBindSetMapping

value to variant mapping