Method
PanelLayeredSettingsbind_with_mapping
Declaration [src]
void
panel_layered_settings_bind_with_mapping (
PanelLayeredSettings* self,
const char* key,
gpointer object,
const char* property,
GSettingsBindFlags flags,
GSettingsBindGetMapping get_mapping,
GSettingsBindSetMapping set_mapping,
gpointer user_data,
GDestroyNotify destroy
)
Description [src]
Creates a new binding similar to g_settings_bind_with_mapping() but applying
from the resolved value via the layered settings.
Parameters
key-
Type:
const char*The settings key to bind.
object(type GObject.Object): the target object.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. object-
Type:
gpointerNo description available.
The argument can be NULL.The data is owned by the caller of the function. property-
Type:
const char*The property on
objectto apply.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. flags-
Type:
GSettingsBindFlagsFlags for the binding.
get_mapping-
Type:
GSettingsBindGetMappingThe get mapping function.
set_mapping-
Type:
GSettingsBindSetMappingThe set mapping function.
user_data-
Type:
gpointerUser data for
get_mappingandset_mapping.The argument can be NULL.The data is owned by the caller of the function. destroy-
Type:
GDestroyNotifyDestroy notify for
user_data.