EDataCal.CalCacheSearchData¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
extra |
r/w |
any extra data associated with the component |
|
object |
r/w |
the component string |
|
rid |
r/w |
the Recurrence-ID of this component |
|
uid |
r/w |
the UID of this component |
Methods¶
class |
|
class |
|
|
Details¶
- class EDataCal.CalCacheSearchData¶
This structure is used to represent components returned by the
EDataCal.CalCache
from various functions such asEDataCal.CalCache.search
().The extra parameter will contain any data which was previously passed for this component in
EDataCal.CalCache.put_component
() or set withEDataCal.CalCache.set_component_extra
().These should be freed with
EDataCal.CalCacheSearchData.free
().New in version 3.26.
- classmethod free(ptr)¶
- Parameters:
ptr (
object
orNone
) – anEDataCal.CalCacheSearchData
Frees the ptr structure, previously allocated with
EDataCal.CalCacheSearchData.new
() orEDataCal.CalCacheSearchData.copy
().New in version 3.26.
- classmethod new(uid, rid, object, extra)¶
- Parameters:
- Returns:
A new
EDataCal.CalCacheSearchData
. Free it withEDataCal.CalCacheSearchData.free
() when no longer needed.- Return type:
Creates a new
EDataCal.CalCacheSearchData
prefilled with the given values.New in version 3.26.
- copy()¶
- Returns:
Copy of the given self. Free it with
EDataCal.CalCacheSearchData.free
() when no longer needed. If the self isNone
, then returnsNone
as well.- Return type:
New in version 3.26.