Class
ICalGLibVcardComponent
unstable since: 4.0
Description [src]
final class ICalGLib.VcardComponent : ICalGLib.Object
{
/* No available fields */
}
This is the ICalVcardComponent instance.
Available since: 4.0
Constructors
i_cal_vcard_component_new_from_string
Creates a new ICalVcardComponent based on a string.
unstable since: 4.0
i_cal_vcard_component_new_full
Create a new libical-glib object from the native libical object and the owner.
since: 1.0
Functions
i_cal_vcard_component_kind_from_string
Converts a string to an ICalVcardComponentKind.
unstable since: 4.0
i_cal_vcard_component_kind_is_valid
Checks if an ICalVcardComponentKind is valid.
unstable since: 4.0
i_cal_vcard_component_kind_to_string
Converts an ICalVcardComponentKind to a string.
unstable since: 4.0
Instance methods
i_cal_vcard_component_add_component
Adds an ICalVcardComponent into another ICalVcardComponent as a child component.
unstable since: 4.0
i_cal_vcard_component_add_property
Adds an ICalVcardProperty into ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_as_vcard_string
Converts an ICalVcardComponent to a string.
unstable since: 4.0
i_cal_vcard_component_check_restrictions
Checks the number of restrictions in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_count_components
Counts the child ICalVcardComponent with the target kind in the parent one.
unstable since: 4.0
i_cal_vcard_component_count_errors
Counts the number of errors in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_count_properties
Counts the number of ICalVcardProperty in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_get_current_component
Gets the current ICalVcardComponent in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_get_current_property
Gets the current ICalVcardProperty in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_get_first_component
Gets the first ICalVcardComponent with specific kind in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_get_first_property
Gets the first ICalVcardProperty with specific kind in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_get_next_component
Gets the next ICalVcardComponent with specific kind in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_get_next_property
Gets the next ICalVcardProperty with specific kind in ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_get_version
Returns the current vCard version of th comp as ICalVcardPropertyVersion.
unstable since: 4.0
i_cal_vcard_component_isa_component
Checks whether the native part of ICalVcardComponent is ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_normalize
Normalizes (reorders and sorts the properties) the specified vCard comp.
unstable since: 4.0
i_cal_vcard_component_remove_component
Removes a child ICalVcardComponent from another ICalVcardComponent.
unstable since: 4.0
i_cal_vcard_component_remove_property
Removes ICalVcardProperty from ICalVcardComponent. Caution: The compare is based on address. So you
must use the original ICalVcardProperty as the target.
unstable since: 4.0
i_cal_vcard_component_take_component
Adds the child into the parent as a child component and unrefs the child.
unstable since: 4.0
i_cal_vcard_component_take_property
Adds the property into the component and unrefs the property.
unstable since: 4.0
i_cal_vcard_component_transform
Transforms (converts) the comp properties to specified vCard version.
unstable since: 4.0
Methods inherited from ICalObject (12)
i_cal_object_add_depender
Adds a depender into the list of objects which should not be destroyed before
this iobject. It’s usually used for cases where the iobject uses native libical
structure from the depender. The depender is referenced. It’s illegal to try
to add one depender multiple times.
since: 1.0
i_cal_object_get_always_destroy
Obtain the ICalObject::always-destroy property value.
unstable since: 3.0.11
i_cal_object_get_is_global_memory
Obtains whether the native libical structure is a global shared memory, thus should not be destroyed. This can be set only during construction time.
since: 1.0
i_cal_object_get_native
Obtain native libical structure pointer associated with this iobject.
since: 1.0
i_cal_object_get_native_destroy_func
Obtain a pointer to a function responsible to free the libical native structure.
since: 1.0
i_cal_object_ref_owner
Obtain current owner of the native libical structure. The returned pointer, if not NULL, is referenced for thread safety. Unref it with g_object_unref when done with it.
since: 1.0
i_cal_object_remove_depender
Removes a depender from the list of objects which should not be destroyed before
this iobject, previously added with i_cal_object_add_depender(). It’s illegal to try
to remove the depender which is not in the internal list.
since: 1.0
i_cal_object_remove_owner
Unref and remove the owner.
since: 1.0
i_cal_object_set_always_destroy
Sets the ICalObject::always-destroy property value. When TRUE, the native
libical structure is always freed, even when an owner of the iobject is set.
unstable since: 3.0.11
i_cal_object_set_native_destroy_func
Sets a function to be used to destroy the native libical structure.
since: 1.0
i_cal_object_set_owner
Sets an owner of the native libical structure, that is an object responsible for a destroy of the native libical structure.
since: 1.0
i_cal_object_steal_native
Obtain native libical structure pointer associated with this iobject and sets the one
at iobject to NULL, thus it’s invalid since now on.
since: 1.0
Properties
Properties inherited from ICalObject (5)
ICalGLib.Object:always-destroy
Whether free the native libical structure on ICalObject‘s finalize even
if the object has set an owner.
unstable since: 3.0.11
ICalGLib.Object:is-global-memory
Whether the native libical structure is from a global shared memory.
If TRUE, then it is not freed on ICalObject‘s finalize.
unstable since: 4.0
ICalGLib.Object:native
The native libical structure for this ICalObject.
unstable since: 4.0
ICalGLib.Object:native-destroy-func
GDestroyNotify function to use to destroy the native libical pointer.
unstable since: 4.0
ICalGLib.Object:owner
Owner of the native libical structure. If set, then it is responsible for a free of the native libical structure.
unstable since: 4.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
since: 2.0