### Class

# ICalGLib Value

#### Description [src]

    final class ICalGLib.Value : ICalGLib.Object
    {
      /* No available fields */
    }

This is the ICalValue instance.

#### Hierarchy

#### Ancestors

- ICalObject
- GObject

#### Constructors

###### i_cal_value_new

Creates a new `ICalValue` with specific kind.

since: 1.0

###### i_cal_value_new_action

Creates a new `ICalValue` holding ACTION.

since: 1.0

###### i_cal_value_new_attach

Creates a new `ICalValue` holding ATTACH.

since: 1.0

###### i_cal_value_new_binary

Creates a new `ICalValue` holding BINARY.

since: 1.0

###### i_cal_value_new_boolean

Creates a new `ICalValue` holding BOOLEAN.

since: 1.0

###### i_cal_value_new_busytype

Creates a new `ICalValue` holding BUSYTYPE.

since: 2.0

###### i_cal_value_new_caladdress

Creates a new `ICalValue` holding CALADDRESS.

since: 1.0

###### i_cal_value_new_carlevel

Creates a new `ICalValue` holding CARLEVEL.

since: 1.0

###### i_cal_value_new_class

Creates a new `ICalValue` holding CLASS.

since: 1.0

###### i_cal_value_new_cmd

Creates a new `ICalValue` holding CMD.

since: 1.0

###### i_cal_value_new_color

Creates a new `ICalValue` holding COLOR.

since: 1.0

###### i_cal_value_new_date

Creates a new `ICalValue` holding DATE.

since: 1.0

###### i_cal_value_new_datetime

Creates a new `ICalValue` holding DATETIME.

since: 1.0

###### i_cal_value_new_datetimedate

Creates a new `ICalValue` holding DATETIMEDATE.

since: 3.0

###### i_cal_value_new_datetimeperiod

Creates a new `ICalValue` holding DATETIMEPERIOD.

since: 1.0

###### i_cal_value_new_duration

Creates a new `ICalValue` holding DURATION.

since: 1.0

###### i_cal_value_new_float

Creates a new `ICalValue` holding FLOAT.

since: 1.0

###### i_cal_value_new_from_string

Creates a new `ICalValue` based on the `ICalValueKind` and a string.

since: 1.0

###### i_cal_value_new_full

Create a new libical-glib object from the native libical object and the owner.

since: 1.0

###### i_cal_value_new_geo

Creates a new `ICalValue` holding GEO.

since: 1.0

###### i_cal_value_new_integer

Creates a new `ICalValue` holding INTEGER.

since: 1.0

###### i_cal_value_new_method

Creates a new `ICalValue` holding METHOD.

since: 1.0

###### i_cal_value_new_participanttype

Creates a new `ICalValue` holding PARTICIPANTTYPE.

since: 4.0

###### i_cal_value_new_period

Creates a new `ICalValue` holding PERIOD.

since: 1.0

###### i_cal_value_new_pollcompletion

Creates a new `ICalValue` holding POLLCOMPLETION.

since: 2.0

###### i_cal_value_new_pollmode

Creates a new `ICalValue` holding POLLMODE.

since: 2.0

###### i_cal_value_new_proximity

Creates a new `ICalValue` holding PROXIMITY.

since: 4.0

###### i_cal_value_new_query

Creates a new `ICalValue` holding QUERY.

since: 1.0

###### i_cal_value_new_querylevel

Creates a new `ICalValue` holding QUERYLEVEL.

since: 1.0

###### i_cal_value_new_recur

Creates a new `ICalValue` holding RECUR.

since: 1.0

###### i_cal_value_new_requeststatus

Creates a new `ICalValue` holding REQUESTSTATUS.

since: 1.0

###### i_cal_value_new_resourcetype

Creates a new `ICalValue` holding RESOURCETYPE.

since: 4.0

###### i_cal_value_new_status

Creates a new `ICalValue` holding STATUS.

since: 1.0

###### i_cal_value_new_string

Creates a new `ICalValue` holding STRING.

since: 1.0

###### i_cal_value_new_taskmode

Creates a new `ICalValue` holding TASKMODE.

since: 2.0

###### i_cal_value_new_text

Creates a new `ICalValue` holding TEXT.

since: 1.0

###### i_cal_value_new_transp

Creates a new `ICalValue` holding TRANSP.

since: 1.0

###### i_cal_value_new_trigger

Creates a new `ICalValue` holding TRIGGER.

since: 1.0

###### i_cal_value_new_uid

Creates a new `ICalValue` holding UID.

since: 4.0

###### i_cal_value_new_uri

Creates a new `ICalValue` holding URI.

since: 1.0

###### i_cal_value_new_utcoffset

Creates a new `ICalValue` holding UTCOFFSET.

since: 1.0

###### i_cal_value_new_x

Creates a new `ICalValue` holding X.

since: 1.0

###### i_cal_value_new_xlicclass

Creates a new `ICalValue` holding XLICCLASS.

since: 1.0

###### i_cal_value_new_xmlreference

Creates a new `ICalValue` holding XMLREFERENCE.

since: 4.0

#### Functions

###### i_cal_value_decode_ical_string

Extracts the original character string encoded by the above function.

since: 1.0

###### i_cal_value_encode_ical_string

Encodes a character string in ical format, escape certain characters, etc.

since: 1.0

###### i_cal_value_kind_from_string

Converts a string to `ICalValueKind`.

since: 1.0

###### i_cal_value_kind_is_valid

Checks whether the `ICalValueKind` is valid.

since: 1.0

###### i_cal_value_kind_to_property_kind

Converts a `ICalValueKind` to a `ICalPropertyKind`.

since: 1.0

###### i_cal_value_kind_to_string

Converts the `ICalValueKind` to a string.

since: 1.0

#### Instance methods

###### i_cal_value_as_ical_string

Converts the `ICalValue` to a string.

since: 1.0

###### i_cal_value_clone

Deeply clone a `ICalValue`.

since: 4.0

###### i_cal_value_compare

Compares two `ICalValue`. If the values do not have the same type ICAL_XLICCOMPARETYPE_NOTEQUAL is returned. ICAL_XLICCOMPARETYPE_NONE is returned if the values type is unknown or one of the values is null.

since: 1.0

###### i_cal_value_free

Frees a `ICalValue`.

since: 1.0

###### i_cal_value_get_action

Returns value of the ACTION `self`.

since: 1.0

###### i_cal_value_get_attach

Returns value of the ATTACH `self`.

since: 1.0

###### i_cal_value_get_binary

Returns value of the BINARY `self`.

since: 1.0

###### i_cal_value_get_boolean

Returns value of the BOOLEAN `self`.

since: 1.0

###### i_cal_value_get_busytype

Returns value of the BUSYTYPE `self`.

since: 2.0

###### i_cal_value_get_caladdress

Returns value of the CALADDRESS `self`.

since: 1.0

###### i_cal_value_get_carlevel

Returns value of the CARLEVEL `self`.

since: 1.0

###### i_cal_value_get_class

Returns value of the CLASS `self`.

since: 1.0

###### i_cal_value_get_cmd

Returns value of the CMD `self`.

since: 1.0

###### i_cal_value_get_color

Returns value of the COLOR `self`.

since: 1.0

###### i_cal_value_get_date

Returns value of the DATE `self`.

since: 1.0

###### i_cal_value_get_datetime

Returns value of the DATETIME `self`.

since: 1.0

###### i_cal_value_get_datetimedate

Returns value of the DATETIMEDATE `self`.

since: 3.0

###### i_cal_value_get_datetimeperiod

Returns value of the DATETIMEPERIOD `self`.

since: 1.0

###### i_cal_value_get_duration

Returns value of the DURATION `self`.

since: 1.0

###### i_cal_value_get_float

Returns value of the FLOAT `self`.

since: 1.0

###### i_cal_value_get_geo

Returns value of the GEO `self`.

since: 1.0

###### i_cal_value_get_integer

Returns value of the INTEGER `self`.

since: 1.0

###### i_cal_value_get_method

Returns value of the METHOD `self`.

since: 1.0

###### i_cal_value_get_parent

Gets the parent `ICalProperty` of the specified `ICalValue`.

since: 3.0

###### i_cal_value_get_participanttype

Returns value of the PARTICIPANTTYPE `self`.

since: 4.0

###### i_cal_value_get_period

Returns value of the PERIOD `self`.

since: 1.0

###### i_cal_value_get_pollcompletion

Returns value of the POLLCOMPLETION `self`.

since: 2.0

###### i_cal_value_get_pollmode

Returns value of the POLLMODE `self`.

since: 2.0

###### i_cal_value_get_proximity

Returns value of the PROXIMITY `self`.

since: 4.0

###### i_cal_value_get_query

Returns value of the QUERY `self`.

since: 1.0

###### i_cal_value_get_querylevel

Returns value of the QUERYLEVEL `self`.

since: 1.0

###### i_cal_value_get_recur

Returns value of the RECUR `self`.

since: 1.0

###### i_cal_value_get_requeststatus

Returns value of the REQUESTSTATUS `self`.

since: 1.0

###### i_cal_value_get_resourcetype

Returns value of the RESOURCETYPE `self`.

since: 4.0

###### i_cal_value_get_status

Returns value of the STATUS `self`.

since: 1.0

###### i_cal_value_get_string

Returns value of the STRING `self`.

since: 1.0

###### i_cal_value_get_taskmode

Returns value of the TASKMODE `self`.

since: 2.0

###### i_cal_value_get_text

Returns value of the TEXT `self`.

since: 1.0

###### i_cal_value_get_transp

Returns value of the TRANSP `self`.

since: 1.0

###### i_cal_value_get_trigger

Returns value of the TRIGGER `self`.

since: 1.0

###### i_cal_value_get_uid

Returns value of the UID `self`.

since: 4.0

###### i_cal_value_get_uri

Returns value of the URI `self`.

since: 1.0

###### i_cal_value_get_utcoffset

Returns value of the UTCOFFSET `self`.

since: 1.0

###### i_cal_value_get_x

Returns value of the X `self`.

since: 1.0

###### i_cal_value_get_xlicclass

Returns value of the XLICCLASS `self`.

since: 1.0

###### i_cal_value_get_xmlreference

Returns value of the XMLREFERENCE `self`.

since: 4.0

###### i_cal_value_is_valid

Checks if `ICalValue` is valid.

since: 1.0

###### i_cal_value_isa

Gets the kind of `ICalValue`.

since: 1.0

###### i_cal_value_isa_value

Checks whether the native part of `ICalValue` is an icalvalue.

since: 1.0

###### i_cal_value_reset_kind

Resets the kind of `ICalValue`.

since: 1.0

###### i_cal_value_set_action

Sets value to the ACTION `self`.

since: 1.0

###### i_cal_value_set_attach

Sets value to the ATTACH `self`.

since: 1.0

###### i_cal_value_set_binary

Sets value to the BINARY `self`.

since: 1.0

###### i_cal_value_set_boolean

Sets value to the BOOLEAN `self`.

since: 1.0

###### i_cal_value_set_busytype

Sets value to the BUSYTYPE `self`.

since: 2.0

###### i_cal_value_set_caladdress

Sets value to the CALADDRESS `self`.

since: 1.0

###### i_cal_value_set_carlevel

Sets value to the CARLEVEL `self`.

since: 1.0

###### i_cal_value_set_class

Sets value to the CLASS `self`.

since: 1.0

###### i_cal_value_set_cmd

Sets value to the CMD `self`.

since: 1.0

###### i_cal_value_set_color

Sets value to the COLOR `self`.

since: 1.0

###### i_cal_value_set_date

Sets value to the DATE `self`.

since: 1.0

###### i_cal_value_set_datetime

Sets value to the DATETIME `self`.

since: 1.0

###### i_cal_value_set_datetimedate

Sets value to the DATETIMEDATE `self`.

since: 3.0

###### i_cal_value_set_datetimeperiod

Sets value to the DATETIMEPERIOD `self`.

since: 1.0

###### i_cal_value_set_duration

Sets value to the DURATION `self`.

since: 1.0

###### i_cal_value_set_float

Sets value to the FLOAT `self`.

since: 1.0

###### i_cal_value_set_geo

Sets value to the GEO `self`.

since: 1.0

###### i_cal_value_set_integer

Sets value to the INTEGER `self`.

since: 1.0

###### i_cal_value_set_method

Sets value to the METHOD `self`.

since: 1.0

###### i_cal_value_set_parent

Sets the parent property of a value.

since: 2.0

###### i_cal_value_set_participanttype

Sets value to the PARTICIPANTTYPE `self`.

since: 4.0

###### i_cal_value_set_period

Sets value to the PERIOD `self`.

since: 1.0

###### i_cal_value_set_pollcompletion

Sets value to the POLLCOMPLETION `self`.

since: 2.0

###### i_cal_value_set_pollmode

Sets value to the POLLMODE `self`.

since: 2.0

###### i_cal_value_set_proximity

Sets value to the PROXIMITY `self`.

since: 4.0

###### i_cal_value_set_query

Sets value to the QUERY `self`.

since: 1.0

###### i_cal_value_set_querylevel

Sets value to the QUERYLEVEL `self`.

since: 1.0

###### i_cal_value_set_recur

Sets value to the RECUR `self`.

since: 1.0

###### i_cal_value_set_requeststatus

Sets value to the REQUESTSTATUS `self`.

since: 1.0

###### i_cal_value_set_resourcetype

Sets value to the RESOURCETYPE `self`.

since: 4.0

###### i_cal_value_set_status

Sets value to the STATUS `self`.

since: 1.0

###### i_cal_value_set_string

Sets value to the STRING `self`.

since: 1.0

###### i_cal_value_set_taskmode

Sets value to the TASKMODE `self`.

since: 2.0

###### i_cal_value_set_text

Sets value to the TEXT `self`.

since: 1.0

###### i_cal_value_set_transp

Sets value to the TRANSP `self`.

since: 1.0

###### i_cal_value_set_trigger

Sets value to the TRIGGER `self`.

since: 1.0

###### i_cal_value_set_uid

Sets value to the UID `self`.

since: 4.0

###### i_cal_value_set_uri

Sets value to the URI `self`.

since: 1.0

###### i_cal_value_set_utcoffset

Sets value to the UTCOFFSET `self`.

since: 1.0

###### i_cal_value_set_x

Sets value to the X `self`.

since: 1.0

###### i_cal_value_set_xlicclass

Sets value to the XLICCLASS `self`.

since: 1.0

###### i_cal_value_set_xmlreference

Sets value to the XMLREFERENCE `self`.

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.

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.

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

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### 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.

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.

###### ICalGLib.Object:native

The native libical structure for this ICalObject.

###### ICalGLib.Object:native-destroy-func

GDestroyNotify function to use to destroy the native libical pointer.

###### ICalGLib.Object:owner

Owner of the native libical structure. If set, then it is responsible for a free of the native libical structure.

#### 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.

#### Class structure

    struct ICalGLibValueClass {
      /* no available fields */
    }

This is the ICalValue class.