### Class

# Foundry Settings

#### Description [src]

    final class Foundry.Settings : Foundry.Contextual
      implements Gio.ActionGroup, Json.Serializable {
      /* No available fields */
    }

Abstraction for user, project, and application settings.

This class provides support for settings which may be overridden at multiple levels including per-user, per-project, and application-wide defaults.

#### Ancestors

- FoundryContextual
- GObject

#### Implements

- GActionGroup
- JsonSerializable

#### Constructors

###### foundry_settings_new

No description available.

###### foundry_settings_new_with_path

No description available.

#### Instance methods

###### foundry_settings_bind

No description available.

###### foundry_settings_bind_with_mapping

Like `foundry_settings_bind()` but allows transforming to and from settings storage using `get_mapping` and `set_mapping` transformation functions.

###### foundry_settings_dup_layer

Gets the underlying `GSettings` used for the respective layer.

###### foundry_settings_get_boolean

No description available.

###### foundry_settings_get_default_value

No description available.

###### foundry_settings_get_double

No description available.

###### foundry_settings_get_int

No description available.

###### foundry_settings_get_schema_id

No description available.

###### foundry_settings_get_string

No description available.

###### foundry_settings_get_strv

No description available.

since: 1.1

###### foundry_settings_get_uint

No description available.

###### foundry_settings_get_user_value

No description available.

###### foundry_settings_get_value

No description available.

###### foundry_settings_set_boolean

No description available.

###### foundry_settings_set_double

No description available.

###### foundry_settings_set_int

No description available.

###### foundry_settings_set_string

No description available.

###### foundry_settings_set_uint

No description available.

###### foundry_settings_set_value

No description available.

###### foundry_settings_unbind

No description available.

##### Methods inherited from FoundryContextual (4)

###### foundry_contextual_acquire

This method provides a checked way to get a `context` for the contextual.

since: 1.1

###### foundry_contextual_dup_context

Gets the `FoundryContext` that `self` is a part of while safely increasing the reference count of the resulting `FoundryContext` by 1.

###### foundry_contextual_inhibit

Creates a new `FoundryInhibitor` that will keep the `FoundryContext` alive and prevent shutdown until `foundry_inhibitor_uninhibit()` is called or the `FoundryInhibitor` is finalized, whichever comes first.

###### foundry_contextual_log

No description available.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from GActionGroup (14)

###### g_action_group_action_added

Emits the `GActionGroup::action-added` signal on `action_group`.

###### g_action_group_action_enabled_changed

Emits the `GActionGroup::action-enabled-changed` signal on `action_group`.

###### g_action_group_action_removed

Emits the `GActionGroup::action-removed` signal on `action_group`.

###### g_action_group_action_state_changed

Emits the `GActionGroup::action-state-changed` signal on `action_group`.

###### g_action_group_activate_action

Activate the named action within `action_group`.

###### g_action_group_change_action_state

Request for the state of the named action within `action_group` to be changed to `value`.

###### g_action_group_get_action_enabled

Checks if the named action within `action_group` is currently enabled.

###### g_action_group_get_action_parameter_type

Queries the type of the parameter that must be given when activating the named action within `action_group`.

###### g_action_group_get_action_state

Queries the current state of the named action within `action_group`.

###### g_action_group_get_action_state_hint

Requests a hint about the valid range of values for the state of the named action within `action_group`.

###### g_action_group_get_action_state_type

Queries the type of the state of the named action within `action_group`.

###### g_action_group_has_action

Checks if the named action exists within `action_group`.

###### g_action_group_list_actions

Lists the actions contained within `action_group`.

###### g_action_group_query_action

Queries all aspects of the named action within an `action_group`.

##### Methods inherited from JsonSerializable (8)

###### json_serializable_default_deserialize_property

Calls the default implementation of the `Json.SerializableIface.deserialize_property` virtual function.

###### json_serializable_default_serialize_property

Calls the default implementation of the `Json.SerializableIface.serialize_property` virtual function.

###### json_serializable_deserialize_property

Asks a `JsonSerializable` implementation to deserialize the property contained inside `property_node` and place its value into `value`.

###### json_serializable_find_property

Calls the `Json.SerializableIface.find_property` implementation on the `JsonSerializable` instance, which will return the property description for the given name.

###### json_serializable_get_property

Calls the `Json.SerializableIface.get_property` implementation on the `JsonSerializable` instance, which will get the value of the given property.

###### json_serializable_list_properties

Calls the `Json.SerializableIface.list_properties` implementation on the `JsonSerializable` instance, which will return the list of serializable properties.

###### json_serializable_serialize_property

Asks a `JsonSerializable` implementation to serialize an object property into a JSON node.

###### json_serializable_set_property

Calls the `Json.SerializableIface.set_property` implementation on the `JsonSerializable` instance, which will set the property with the given value.

#### Properties

###### Foundry.Settings:path

No description available.

###### Foundry.Settings:schema-id

No description available.

##### Properties inherited from FoundryContextual (1)

###### Foundry.Contextual:context

No description available.

#### Signals

###### Foundry.Settings::changed

No description available.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

##### Signals inherited from GActionGroup (4)

###### GActionGroup::action-added

Signals that a new action was just added to the group.

###### GActionGroup::action-enabled-changed

Signals that the enabled status of the named action has changed.

###### GActionGroup::action-removed

Signals that an action is just about to be removed from the group.

###### GActionGroup::action-state-changed

Signals that the state of the named action has changed.

#### Class structure

    struct FoundrySettingsClass {
      FoundryContextualClass parent_class;

    }

No description available.

###### Class members

`parent_class: FoundryContextualClass`

  No description available.