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 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 gpointer
  No description available.
 The argument can be NULL.
 The data is owned by the caller of the function.
property const char*
 

The property on object to apply.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
flags GSettingsBindFlags
 

Flags for the binding.

get_mapping GSettingsBindGetMapping
 

The get mapping function.

set_mapping GSettingsBindSetMapping
 

The set mapping function.

user_data gpointer
 

User data for get_mapping and set_mapping.

 The argument can be NULL.
 The data is owned by the caller of the function.
destroy GDestroyNotify
 

Destroy notify for user_data.