Callbacks¶
|
|
|
|
|
Details¶
- EDataCal.CalBackendCustomOpFunc(cal_backend, user_data, cancellable)¶
- Parameters:
cal_backend (
EDataCal.CalBackend
) – anEDataCal.CalBackend
user_data (
object
orNone
) – a function user data, as provided toEDataCal.CalBackend.schedule_custom_operation
()cancellable (
Gio.Cancellable
orNone
) – an optionalGio.Cancellable
, as provided toEDataCal.CalBackend.schedule_custom_operation
()
A callback prototype being called in a dedicated thread, scheduled by
EDataCal.CalBackend.schedule_custom_operation
().New in version 3.26.
- EDataCal.CalBackendForeachViewFunc(backend, view, *user_data)¶
- Parameters:
backend (
EDataCal.CalBackend
) – anEDataCal.CalBackend
view (
EDataCal.DataCalView
) – anEDataCal.DataCalView
- Returns:
- Return type:
Callback function used by
EDataCal.CalBackend.foreach_view
().New in version 3.34.
- EDataCal.CalCacheSearchFunc(cal_cache, uid, rid, revision, object, extra, custom_flags, offline_state, *user_data)¶
- Parameters:
cal_cache (
EDataCal.CalCache
) – anEDataCal.CalCache
uid (
str
) – a unique object identifierrevision (
str
) – the object revisionobject (
str
) – the object itselfextra (
str
) – extra data stored with the objectcustom_flags (
int
) – object’s custom flagsoffline_state (
EBackend.OfflineState
) – object’s offline state, one ofEBackend.OfflineState
user_data (
object
orNone
) – user data, as used inEDataCal.CalCache.search_with_callback
()
- Returns:
- Return type:
A callback called for each object row when using
EDataCal.CalCache.search_with_callback
() function.New in version 3.26.