EDataServer.SourceBackend

g EDataServer.SourceBackend EDataServer.SourceBackend EDataServer.SourceExtension EDataServer.SourceExtension EDataServer.SourceExtension->EDataServer.SourceBackend GObject.Object GObject.Object GObject.Object->EDataServer.SourceExtension

Subclasses:EDataServer.SourceAddressBook, EDataServer.SourceCollection, EDataServer.SourceMailAccount, EDataServer.SourceMailTransport, EDataServer.SourceSelectable

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:EDataServer.SourceExtension (1)
Name Type Flags Short Description
backend-name str r/w/c/en The name of the backend handling the data source

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent EDataServer.SourceExtension r  

Class Details

class EDataServer.SourceBackend(**kwargs)
Bases:EDataServer.SourceExtension
Abstract:Yes
Structure:EDataServer.SourceBackendClass

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

New in version 3.6.

dup_backend_name()
Returns:a newly-allocated copy of EDataServer.SourceBackend :backend-name
Return type:str

Thread-safe variation of EDataServer.SourceBackend.get_backend_name(). Use this function when accessing self from multiple threads.

The returned string should be freed with GLib.free() when no longer needed.

New in version 3.6.

get_backend_name()
Returns:the backend name for self
Return type:str

Returns the backend name for self.

New in version 3.6.

set_backend_name(backend_name)
Parameters:backend_name (str or None) – a backend name, or None

Sets the backend name for self.

The internal copy of backend_name is automatically stripped of leading and trailing whitespace. If the resulting string is empty, None is set instead.

New in version 3.6.

Property Details

EDataServer.SourceBackend.props.backend_name
Name:backend-name
Type:str
Default Value:None
Flags:READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY

The name of the backend handling the data source