Callbacks

  CalBackendCustomOpFunc (cal_backend, user_data, cancellable)
  CalBackendForeachViewFunc (backend, view, *user_data)
  CalCacheSearchFunc (cal_cache, uid, rid, revision, object, extra, custom_flags, offline_state, *user_data)

Details

EDataCal.CalBackendCustomOpFunc(cal_backend, user_data, cancellable)
Parameters:

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:
Returns:

True, to continue, False to stop further processing.

Return type:

bool

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:
Returns:

True to continue, False to stop walk through.

Return type:

bool

A callback called for each object row when using EDataCal.CalCache.search_with_callback() function.

New in version 3.26.