ECal.ClientTzlookupICalCompData

Fields

None

Methods

class

new (icomp)

copy ()

free ()

get_icalcomponent ()

Details

class ECal.ClientTzlookupICalCompData

Contains data used as lookup_data of ECal.Client.tzlookup_icalcomp_cb().

New in version 3.34.

classmethod new(icomp)
Parameters:

icomp (ICalGLib.Component) – an ICalGLib.Component

Returns:

a new ECal.ClientTzlookupICalCompData

Return type:

ECal.ClientTzlookupICalCompData

Constructs a new ECal.ClientTzlookupICalCompData, which can be used as a lookup_data argument of ECal.Client.tzlookup_icalcomp_cb(). Free it with ECal.ClientTzlookupICalCompData.free(), when no longer needed.

New in version 3.34.

copy()
Returns:

copy of the self. Free the returned structure with ECal.ClientTzlookupICalCompData.free(), when no longer needed.

Return type:

ECal.ClientTzlookupICalCompData or None

Copies given ECal.ClientTzlookupICalCompData structure. When the self is None, simply returns None as well.

New in version 3.34.

free()

Frees previously allocated ECal.ClientTzlookupICalCompData structure with ECal.ClientTzlookupICalCompData.new() or ECal.ClientTzlookupICalCompData.copy(). The function does nothing when self is None.

New in version 3.34.

get_icalcomponent()
Returns:

The ICalGLib.Component associated with the self

Return type:

ICalGLib.Component

New in version 3.34.