EDataBook.BookBackendSExp¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(text) | 
| lock() | |
| match_contact(contact) | |
| match_vcard(vcard) | |
| text() | |
| unlock() | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class EDataBook.BookBackendSExp(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - EDataBook.BookBackendSExpClass- 
classmethod new(text)¶
- Parameters: - text ( - str) – an s-expression to parse- Returns: - a new - EDataBook.BookBackendSExp- Return type: - EDataBook.BookBackendSExp- Creates a new - EDataBook.BookBackendSExpfrom text.
 - 
lock()¶
- Locks the self. Other threads cannot use it until it’s unlocked with - EDataBook.BookBackendSExp.unlock().- New in version 3.34. 
 - 
match_contact(contact)¶
- Parameters: - contact ( - EBookContacts.Contact) – an- EBookContacts.Contact- Returns: - Trueif the contact matches,- Falseotherwise- Return type: - bool- Checks if contact matches self. 
 - 
match_vcard(vcard)¶
- Parameters: - vcard ( - str) – a vCard string- Returns: - Trueif the vCard matches,- Falseotherwise- Return type: - bool- Checks if vcard matches self. 
 - 
text()¶
- Returns: - the text expression - Return type: - str- Retrieve the text expression for the given - EDataBook.BookBackendSExpobject.- New in version 3.8. 
 - 
unlock()¶
- Unlocks the self, previously locked by - EDataBook.BookBackendSExp.lock().- New in version 3.34. 
 
- 
classmethod