EDataServer.SourceLocal¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c/en |
Custom iCalendar file |
||
r/w/c/en |
Email address associated with the calendar |
||
r/w/c/en |
Whether the file can be opened in writable mode |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataServer.SourceLocal(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- dup_custom_file()¶
-
A thread safe variant to get a custom file being set on the self. Free the returned
Gio.File
, if notNone
, withGObject.Object.unref
(), when no longer needed.
- dup_email_address()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceLocal
:email-address
- Return type:
Thread-safe variation of e_source_lcoal_get_email_address(). 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.40.
- get_custom_file()¶
-
Get the custom file being set on the self. The returned
Gio.File
is owned by the self.For thread safety use
EDataServer.SourceLocal.dup_custom_file
().
- get_email_address()¶
-
New in version 3.40.
- get_writable()¶
- Returns:
whether prefer to pen the file in writable mode
- Return type:
Returns whether the backend should prefer to open the file in writable mode. The default is
True
. The file can be still opened for read-only, for example when the access to the file is read-only.New in version 3.34.
Property Details¶
- EDataServer.SourceLocal.props.custom_file¶
- Name:
custom-file
- Type:
- Default Value:
- Flags:
Custom iCalendar file
- EDataServer.SourceLocal.props.email_address¶
- Name:
email-address
- Type:
- Default Value:
- Flags:
Email address associated with the calendar