ECal.ComponentText¶
Fields¶
None
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class ECal.ComponentText¶
Contains description string and an alternate representation URI for text properties. Use the functions below to work with it.
- classmethod new(value, altrep)¶
- Parameters:
- Returns:
a newly allocated
ECal.ComponentText
- Return type:
Creates a new
ECal.ComponentText
describing text properties. The returned structure should be freed with e_cal_component_text_free(), when no longer needed.New in version 3.34.
- classmethod new_from_property(property)¶
- Parameters:
property (
ICalGLib.Property
) – anICalGLib.Property
- Returns:
a newly allocated
ECal.ComponentText
- Return type:
Created a new
ECal.ComponentText
filled with values from the property. The property should hold a text value.New in version 3.46.
- copy()¶
- Returns:
a newly allocated
ECal.ComponentText
, copy of self. The returned structure should be freed with e_cal_component_text_free(), when no longer needed.- Return type:
New in version 3.34.
- fill_property(property)¶
- Parameters:
property (
ICalGLib.Property
) – anICalGLib.Property
Fills the property with the content of the self.
New in version 3.46.
- get_altrep()¶
- Returns:
the alternate representation URI of the self
- Return type:
New in version 3.34.
- set_altrep(altrep)¶
-
Set the altrep as the alternate representation URI of the self.
New in version 3.34.
- set_from_property(property)¶
- Parameters:
property (
ICalGLib.Property
) – anICalGLib.Property
Fill the self structure with the information from the property. The property should hold a text value.
New in version 3.46.
- set_language(language)¶
-
Set the language as the language of the self. The language tag is defined in RFC 5646. For example
en-US
, noten_US
.New in version 3.46.