Callbacks¶
| FreeFormExpBuildSexpFunc(word, options, hint) | |
| OAuth2ServiceRefSourceFunc(user_data, uid) | |
| SourceRefreshFunc(source, *user_data) | |
| TypeFunc(type, *user_data) | |
| WebDAVDiscoverRefSourceFunc(user_data, uid) | |
| WebDAVPropstatTraverseFunc(webdav, prop_node, request_uri, href, status_code, *user_data) | |
| XmlHashFunc(key, value, *user_data) | |
| XmlHashRemoveFunc(key, value, *user_data) | 
Details¶
- 
EDataServer.FreeFormExpBuildSexpFunc(word, options, hint)¶
- Parameters: - Return type: 
- 
EDataServer.OAuth2ServiceRefSourceFunc(user_data, uid)¶
- Parameters: - user_data (objectorNone) – user data, as passed toEDataServer.OAuth2Service.get_access_token_sync() orEDataServer.OAuth2Service.receive_and_store_token_sync(), orEDataServer.OAuth2Service.refresh_and_store_token_sync()
- uid (str) – anEDataServer.SourceUID to return
 - Returns: - an - EDataServer.Sourcewith UID uid, or- None, if not found. Dereference the returned non-- None- EDataServer.Sourcewith- GObject.Object.unref(), when no longer needed.- Return type: - New in version 3.28. 
- user_data (
- 
EDataServer.SourceRefreshFunc(source, *user_data)¶
- Parameters: - source (EDataServer.Source) – anEDataServer.Source
- user_data (objectorNone) – user data provided to the callback function
 - New in version 3.6. 
- source (
- 
EDataServer.TypeFunc(type, *user_data)¶
- Parameters: - type (GObject.GType) – aGObject.GType
- user_data (objectorNone) – user data passed toEDataServer.type_traverse()
 - Specifies the type of functions passed to - EDataServer.type_traverse().- New in version 3.4. 
- type (
- 
EDataServer.WebDAVDiscoverRefSourceFunc(user_data, uid)¶
- Parameters: - user_data (objectorNone) – user data, as passed toEDataServer.webdav_discover_sources_full() orEDataServer.webdav_discover_sources_full_sync()
- uid (str) – anEDataServer.SourceUID to return
 - Returns: - an - EDataServer.Sourcewith UID uid, or- None, if not found. Dereference the returned non-- None- EDataServer.Sourcewith- GObject.Object.unref(), when no longer needed.- Return type: - New in version 3.30. 
- user_data (
- 
EDataServer.WebDAVPropstatTraverseFunc(webdav, prop_node, request_uri, href, status_code, *user_data)¶
- Parameters: - webdav (EDataServer.WebDAVSession) – anEDataServer.WebDAVSession
- prop_node (libxml2.Node) – anlibxml2.Node
- request_uri (Soup.URI) – aSoup.URI, containing the request URI, maybe redirected by the server
- href (strorNone) – a full URI to which the property belongs, orNone, when not found
- status_code (int) – an HTTP status code for this property
- user_data (objectorNone) – user data, as passed toEDataServer.WebDAVSession.propfind_sync()
 - Returns: - Trueto continue traversal of the returned response,- Falseotherwise.- Return type: - A callback function for - EDataServer.WebDAVSession.propfind_sync(),- EDataServer.WebDAVSession.report_sync() and other XML response with DAV:propstat elements traversal functions.- The prop_node points to the actual property (prop) node and it can be examined with e_xml_find_child(), e_xml_find_children_nodes() and other provided XML helper functions. - New in version 3.26. 
- webdav (
- 
EDataServer.XmlHashFunc(key, value, *user_data)¶
- Parameters: