### Class

# EDataServer SourceCollection

since: 3.6

#### Description [src]

    class EDataServer.SourceCollection : EDataServer.SourceBackend
    {
      /* No available fields */
    }

Contains only private data that should be read and manipulated using the functions below.

Available since: 3.6

#### Hierarchy

#### Ancestors

- ESourceBackend
- ESourceExtension
- GObject

#### Instance methods

###### e_source_collection_dup_calendar_url

Thread-safe variation of e_source_collection_get_calendar_url(). Use this function when accessing `extension` from multiple threads.

since: 3.26

###### e_source_collection_dup_contacts_url

Thread-safe variation of e_source_collection_get_contacts_url(). Use this function when accessing `extension` from multiple threads.

since: 3.26

###### e_source_collection_dup_identity

Thread-safe variation of e_source_collection_get_identity(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_collection_get_allow_sources_rename

Returns whether the collection backend allows a user to rename child sources. It is meant mainly for GUI. The default is `FALSE`.

since: 3.36

###### e_source_collection_get_calendar_enabled

Returns whether calendar sources within the collection should be enabled.

since: 3.6

###### e_source_collection_get_calendar_url

Returns the calendar top URL string, that is, where to search for calendar sources.

since: 3.26

###### e_source_collection_get_contacts_enabled

Returns whether address book sources within the collection should be enabled.

since: 3.6

###### e_source_collection_get_contacts_url

Returns the contacts top URL string, that is, where to search for contact sources.

since: 3.26

###### e_source_collection_get_identity

Returns the string used to uniquely identify the user account at the service provider. Often this is an email address or user name.

since: 3.6

###### e_source_collection_get_mail_enabled

Returns whether mail sources within the collection should be enabled.

since: 3.6

###### e_source_collection_set_allow_sources_rename

Sets whether the collection backend allows a user to rename child sources. It is meant mainly for GUI. The default is `FALSE`.

since: 3.36

###### e_source_collection_set_calendar_enabled

Sets whether calendar sources within the collection should be enabled.

since: 3.6

###### e_source_collection_set_calendar_url

Sets the calendar top URL, that is, where to search for calendar sources.

since: 3.26

###### e_source_collection_set_contacts_enabled

Sets whether address book sources within the collection should be enabled.

since: 3.6

###### e_source_collection_set_contacts_url

Sets the contacts top URL, that is, where to search for contact sources.

since: 3.26

###### e_source_collection_set_identity

Sets the string used to uniquely identify the user account at the service provider. Often this is an email address or user name.

since: 3.6

###### e_source_collection_set_mail_enabled

Sets whether mail sources within the collection should be enabled.

since: 3.6

##### Methods inherited from ESourceBackend (3)

###### e_source_backend_dup_backend_name

Thread-safe variation of e_source_backend_get_backend_name(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_backend_get_backend_name

Returns the backend name for `extension`.

since: 3.6

###### e_source_backend_set_backend_name

Sets the backend name for `extension`.

since: 3.6

##### Methods inherited from ESourceExtension (4)

###### e_source_extension_get_source

Returns the `ESource` instance to which `extension` belongs.

deprecated: 3.8 since: 3.6

###### e_source_extension_property_lock

Acquires a property lock, thus no other thread can change properties of the `extension` until the lock is released.

since: 3.18

###### e_source_extension_property_unlock

Releases a property lock, previously acquired with e_source_extension_property_lock(), thus other threads can change properties of the `extension`.

since: 3.18

###### e_source_extension_ref_source

Returns the `ESource` instance to which the `extension` belongs.

since: 3.8

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

Please see GObject for a full list of methods.

#### Properties

###### EDataServer.SourceCollection:allow-sources-rename

Set to TRUE when the collection source allows user rename the child sources.

###### EDataServer.SourceCollection:calendar-enabled

Whether calendar resources are enabled.

###### EDataServer.SourceCollection:calendar-url

Calendar top URL.

###### EDataServer.SourceCollection:contacts-enabled

Whether contact resources are enabled.

###### EDataServer.SourceCollection:contacts-url

Contacts top URL.

###### EDataServer.SourceCollection:identity

Uniquely identifies the account at the service provider.

###### EDataServer.SourceCollection:mail-enabled

Whether mail resources are enabled.

##### Properties inherited from ESourceBackend (1)

###### EDataServer.SourceBackend:backend-name

The name of the backend handling the data source.

##### Properties inherited from ESourceExtension (1)

###### EDataServer.SourceExtension:source

The `ESource` being extended.

#### Signals

##### 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.

#### Class structure

    struct EDataServerSourceCollectionClass {
      ESourceBackendClass parent_class;

    }

No description available.

###### Class members

`parent_class: ESourceBackendClass`

  No description available.