ICalGLib.Value¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class ICalGLib.Value(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This is the
ICalGLib.Value
instance.- classmethod decode_ical_string(szText)¶
-
Extracts the original character string encoded by the above function.
New in version 1.0.
- classmethod encode_ical_string(szText)¶
-
Encodes a character string in ical format, escape certain characters, etc.
New in version 1.0.
- classmethod kind_from_string(str)¶
- Parameters:
str (
str
) – A string- Returns:
- Return type:
Converts a string to
ICalGLib.ValueKind
.New in version 1.0.
- classmethod kind_is_valid(kind)¶
- Parameters:
kind (
ICalGLib.ValueKind
) – TheICalGLib.ValueKind
to be checked- Returns:
1 if yes, 0 if not.
- Return type:
Checks whether the
ICalGLib.ValueKind
is valid.New in version 1.0.
- classmethod kind_to_property_kind(kind)¶
- Parameters:
kind (
ICalGLib.ValueKind
) – AICalGLib.ValueKind
- Returns:
- Return type:
Converts a
ICalGLib.ValueKind
to aICalGLib.PropertyKind
.New in version 1.0.
- classmethod kind_to_string(kind)¶
- Parameters:
kind (
ICalGLib.ValueKind
) – AICalGLib.ValueKind
- Returns:
The string representation of
ICalGLib.ValueKind
.- Return type:
Converts the
ICalGLib.ValueKind
to a string.New in version 1.0.
- classmethod new(kind)¶
- Parameters:
kind (
ICalGLib.ValueKind
) – AICalGLib.ValueKind
- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with specific kind.New in version 1.0.
- classmethod new_action(v)¶
- Parameters:
v (
ICalGLib.PropertyAction
) – The action value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type action.New in version 1.0.
- classmethod new_attach(v)¶
- Parameters:
v (
ICalGLib.Attach
) – The attach value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type attach.New in version 1.0.
- classmethod new_binary(v)¶
- Parameters:
v (
str
) – The binary value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type binary.New in version 1.0.
- classmethod new_boolean(v)¶
- Parameters:
v (
int
) – The boolean value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type boolean.New in version 1.0.
- classmethod new_busytype(v)¶
- Parameters:
v (
ICalGLib.PropertyBusytype
) – The busytype value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type busytype.New in version 2.0.
- classmethod new_caladdress(v)¶
- Parameters:
v (
str
) – The caladdress value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type caladdress.New in version 1.0.
- classmethod new_carlevel(v)¶
- Parameters:
v (
ICalGLib.PropertyCarlevel
) – The carlevel value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type carlevel.New in version 1.0.
- classmethod new_class(v)¶
- Parameters:
v (
ICalGLib.Property_Class
) – The class value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type class.New in version 1.0.
- classmethod new_cmd(v)¶
- Parameters:
v (
ICalGLib.PropertyCmd
) – The cmd value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type cmd.New in version 1.0.
- classmethod new_date(v)¶
- Parameters:
v (
ICalGLib.Time
) – The date value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type date.New in version 1.0.
- classmethod new_datetime(v)¶
- Parameters:
v (
ICalGLib.Time
) – The datetime value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type datetime.New in version 1.0.
- classmethod new_datetimedate(v)¶
- Parameters:
v (
ICalGLib.Time
) – The DATE-TIME or DATE value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type datetimedate (DATE-TIME or DATE).New in version 3.0.
- classmethod new_datetimeperiod(v)¶
- Parameters:
v (
ICalGLib.Datetimeperiod
) – The datetimeperiod value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type datetimeperiod.New in version 1.0.
- classmethod new_duration(v)¶
- Parameters:
v (
ICalGLib.Duration
) – The duration value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type duration.New in version 1.0.
- classmethod new_float(v)¶
- Parameters:
v (
float
) – The float value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type float.New in version 1.0.
- classmethod new_from_string(kind, str)¶
- Parameters:
kind (
ICalGLib.ValueKind
) – AICalGLib.ValueKind
str (
str
) – A string
- Returns:
The newly created
ICalGLib.Value
based on the kind and str.- Return type:
Creates a new
ICalGLib.Value
based on theICalGLib.ValueKind
and a string.New in version 1.0.
- classmethod new_geo(v)¶
- Parameters:
v (
ICalGLib.Geo
) – The geo value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type geo.New in version 1.0.
- classmethod new_integer(v)¶
- Parameters:
v (
int
) – The integer value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type integer.New in version 1.0.
- classmethod new_method(v)¶
- Parameters:
v (
ICalGLib.PropertyMethod
) – The method value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type method.New in version 1.0.
- classmethod new_period(v)¶
- Parameters:
v (
ICalGLib.Period
) – The period value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type period.New in version 1.0.
- classmethod new_pollcompletion(v)¶
- Parameters:
v (
ICalGLib.PropertyPollcompletion
) – The pollcompletion value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type pollcompletion.New in version 2.0.
- classmethod new_pollmode(v)¶
- Parameters:
v (
ICalGLib.PropertyPollmode
) – The pollmode value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type pollmode.New in version 2.0.
- classmethod new_query(v)¶
- Parameters:
v (
str
) – The query value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type query.New in version 1.0.
- classmethod new_querylevel(v)¶
- Parameters:
v (
ICalGLib.PropertyQuerylevel
) – The querylevel value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type querylevel.New in version 1.0.
- classmethod new_recur(v)¶
- Parameters:
v (
ICalGLib.Recurrence
) – The recur value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type recur.New in version 1.0.
- classmethod new_requeststatus(v)¶
- Parameters:
v (
ICalGLib.Reqstat
) – The requeststatus value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type requeststatus.New in version 1.0.
- classmethod new_status(v)¶
- Parameters:
v (
ICalGLib.PropertyStatus
) – The status value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type status.New in version 1.0.
- classmethod new_string(v)¶
- Parameters:
v (
str
) – The string value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type string.New in version 1.0.
- classmethod new_taskmode(v)¶
- Parameters:
v (
ICalGLib.PropertyTaskmode
) – The taskmode value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type taskmode.New in version 2.0.
- classmethod new_text(v)¶
- Parameters:
v (
str
) – The text value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type text.New in version 1.0.
- classmethod new_transp(v)¶
- Parameters:
v (
ICalGLib.PropertyTransp
) – The transp value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type transp.New in version 1.0.
- classmethod new_trigger(v)¶
- Parameters:
v (
ICalGLib.Trigger
) – The trigger value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type trigger.New in version 1.0.
- classmethod new_uri(v)¶
- Parameters:
v (
str
) – The uri value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type uri.New in version 1.0.
- classmethod new_utcoffset(v)¶
- Parameters:
v (
int
) – The utcoffset value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type utcoffset.New in version 1.0.
- classmethod new_x(v)¶
- Parameters:
v (
str
) – The x value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type x.New in version 1.0.
- classmethod new_xlicclass(v)¶
- Parameters:
v (
ICalGLib.PropertyXlicclass
) – The xlicclass value- Returns:
The newly created
ICalGLib.Value
.- Return type:
Creates a new
ICalGLib.Value
with the type xlicclass.New in version 1.0.
- as_ical_string()¶
- Returns:
The string representation.
- Return type:
Converts the
ICalGLib.Value
to a string.New in version 1.0.
- clone()¶
- Returns:
The newly created
ICalGLib.Value
with the same property as self.- Return type:
Deeply clone a
ICalGLib.Value
.New in version 1.0.
- compare(b)¶
- Parameters:
b (
ICalGLib.Value
) – AICalGLib.Value
- Returns:
The compare result.
- Return type:
Compares two
ICalGLib.Value
.New in version 1.0.
- get_action()¶
- Returns:
The action within
ICalGLib.Value
- Return type:
Gets the action of
ICalGLib.Value
.New in version 1.0.
- get_attach()¶
- Returns:
The attach within
ICalGLib.Value
- Return type:
Gets the attach of
ICalGLib.Value
.New in version 1.0.
- get_binary()¶
- Returns:
The binary within
ICalGLib.Value
- Return type:
Gets the binary of
ICalGLib.Value
.New in version 1.0.
- get_boolean()¶
- Returns:
The boolean within
ICalGLib.Value
- Return type:
Gets the boolean of
ICalGLib.Value
.New in version 1.0.
- get_busytype()¶
- Returns:
The busytype within
ICalGLib.Value
- Return type:
Gets the busytype of
ICalGLib.Value
.New in version 2.0.
- get_caladdress()¶
- Returns:
The caladdress within
ICalGLib.Value
- Return type:
Gets the caladdress of
ICalGLib.Value
.New in version 1.0.
- get_carlevel()¶
- Returns:
The carlevel within
ICalGLib.Value
- Return type:
Gets the carlevel of
ICalGLib.Value
.New in version 1.0.
- get_class()¶
- Returns:
The class within
ICalGLib.Value
- Return type:
Gets the class of
ICalGLib.Value
.New in version 1.0.
- get_cmd()¶
- Returns:
The cmd within
ICalGLib.Value
- Return type:
Gets the cmd of
ICalGLib.Value
.New in version 1.0.
- get_date()¶
- Returns:
The date within
ICalGLib.Value
- Return type:
Gets the date of
ICalGLib.Value
.New in version 1.0.
- get_datetime()¶
- Returns:
The datetime within
ICalGLib.Value
- Return type:
Gets the datetime of
ICalGLib.Value
.New in version 1.0.
- get_datetimedate()¶
- Returns:
The datetimedate within
ICalGLib.Value
- Return type:
Gets the datetimedate (DATE-TIME or DATE) of
ICalGLib.Value
.New in version 3.0.
- get_datetimeperiod()¶
- Returns:
The datetimeperiod within
ICalGLib.Value
- Return type:
Gets the datetimeperiod of
ICalGLib.Value
.New in version 1.0.
- get_duration()¶
- Returns:
The duration within
ICalGLib.Value
- Return type:
Gets the duration of
ICalGLib.Value
.New in version 1.0.
- get_float()¶
- Returns:
The float within
ICalGLib.Value
- Return type:
Gets the float of
ICalGLib.Value
.New in version 1.0.
- get_geo()¶
- Returns:
The geo within
ICalGLib.Value
- Return type:
ICalGLib.Geo
orNone
Gets the geo of
ICalGLib.Value
.New in version 1.0.
- get_integer()¶
- Returns:
The integer within
ICalGLib.Value
- Return type:
Gets the integer of
ICalGLib.Value
.New in version 1.0.
- get_method()¶
- Returns:
The method within
ICalGLib.Value
- Return type:
Gets the method of
ICalGLib.Value
.New in version 1.0.
- get_parent()¶
- Returns:
The parent
ICalGLib.Property
- Return type:
Gets the parent
ICalGLib.Property
of the specifiedICalGLib.Value
.New in version 3.0.
- get_period()¶
- Returns:
The period within
ICalGLib.Value
- Return type:
Gets the period of
ICalGLib.Value
.New in version 1.0.
- get_pollcompletion()¶
- Returns:
The pollcompletion within
ICalGLib.Value
- Return type:
Gets the pollcompletion of
ICalGLib.Value
.New in version 2.0.
- get_pollmode()¶
- Returns:
The pollmode within
ICalGLib.Value
- Return type:
Gets the pollmode of
ICalGLib.Value
.New in version 2.0.
- get_query()¶
- Returns:
The query within
ICalGLib.Value
- Return type:
Gets the query of
ICalGLib.Value
.New in version 1.0.
- get_querylevel()¶
- Returns:
The querylevel within
ICalGLib.Value
- Return type:
Gets the querylevel of
ICalGLib.Value
.New in version 1.0.
- get_recur()¶
- Returns:
The recur within
ICalGLib.Value
- Return type:
Gets the recur of
ICalGLib.Value
.New in version 1.0.
- get_requeststatus()¶
- Returns:
The requeststatus within
ICalGLib.Value
- Return type:
Gets the requeststatus of
ICalGLib.Value
.New in version 1.0.
- get_status()¶
- Returns:
The status within
ICalGLib.Value
- Return type:
Gets the status of
ICalGLib.Value
.New in version 1.0.
- get_string()¶
- Returns:
The string within
ICalGLib.Value
- Return type:
Gets the string of
ICalGLib.Value
.New in version 1.0.
- get_taskmode()¶
- Returns:
The taskmode within
ICalGLib.Value
- Return type:
Gets the taskmode of
ICalGLib.Value
.New in version 2.0.
- get_text()¶
- Returns:
The text within
ICalGLib.Value
- Return type:
Gets the text of
ICalGLib.Value
.New in version 1.0.
- get_transp()¶
- Returns:
The transp within
ICalGLib.Value
- Return type:
Gets the transp of
ICalGLib.Value
.New in version 1.0.
- get_trigger()¶
- Returns:
The trigger within
ICalGLib.Value
- Return type:
Gets the trigger of
ICalGLib.Value
.New in version 1.0.
- get_uri()¶
- Returns:
The uri within
ICalGLib.Value
- Return type:
Gets the uri of
ICalGLib.Value
.New in version 1.0.
- get_utcoffset()¶
- Returns:
The utcoffset within
ICalGLib.Value
- Return type:
Gets the utcoffset of
ICalGLib.Value
.New in version 1.0.
- get_x()¶
- Returns:
The x within
ICalGLib.Value
- Return type:
Gets the x of
ICalGLib.Value
.New in version 1.0.
- get_xlicclass()¶
- Returns:
The xlicclass within
ICalGLib.Value
- Return type:
Gets the xlicclass of
ICalGLib.Value
.New in version 1.0.
- is_valid()¶
- Returns:
1 if valid, 0 if not.
- Return type:
Checks if
ICalGLib.Value
is valid.New in version 1.0.
- isa()¶
- Returns:
The kind of self.
- Return type:
Gets the kind of
ICalGLib.Value
.New in version 1.0.
- isa_value()¶
- Returns:
1 if yes, 0 if not.
- Return type:
Checks whether the native part of
ICalGLib.Value
is an icalvalue.New in version 1.0.
- reset_kind()¶
Resets the kind of
ICalGLib.Value
.New in version 1.0.
- set_action(v)¶
- Parameters:
v (
ICalGLib.PropertyAction
) – The action value
Sets the action in the
ICalGLib.Value
.New in version 1.0.
- set_attach(v)¶
- Parameters:
v (
ICalGLib.Attach
) – The attach value
Sets the attach in the
ICalGLib.Value
.New in version 1.0.
- set_binary(v)¶
- Parameters:
v (
str
) – The binary value
Sets the binary in the
ICalGLib.Value
.New in version 1.0.
- set_boolean(v)¶
- Parameters:
v (
int
) – The boolean value
Sets the boolean in the
ICalGLib.Value
.New in version 1.0.
- set_busytype(v)¶
- Parameters:
v (
ICalGLib.PropertyBusytype
) – The busytype value
Sets the busytype in the
ICalGLib.Value
.New in version 2.0.
- set_caladdress(v)¶
- Parameters:
v (
str
) – The caladdress value
Sets the caladdress in the
ICalGLib.Value
.New in version 1.0.
- set_carlevel(v)¶
- Parameters:
v (
ICalGLib.PropertyCarlevel
) – The carlevel value
Sets the carlevel in the
ICalGLib.Value
.New in version 1.0.
- set_class(v)¶
- Parameters:
v (
ICalGLib.Property_Class
) – The class value
Sets the class in the
ICalGLib.Value
.New in version 1.0.
- set_cmd(v)¶
- Parameters:
v (
ICalGLib.PropertyCmd
) – The cmd value
Sets the cmd in the
ICalGLib.Value
.New in version 1.0.
- set_date(v)¶
- Parameters:
v (
ICalGLib.Time
) – The date value
Sets the date in the
ICalGLib.Value
.New in version 1.0.
- set_datetime(v)¶
- Parameters:
v (
ICalGLib.Time
) – The datetime value
Sets the datetime in the
ICalGLib.Value
.New in version 1.0.
- set_datetimedate(v)¶
- Parameters:
v (
ICalGLib.Time
) – The datetimedate (DATE-TIME or DATE) value
Sets the datetimedate (DATE-TIME or DATE) in the
ICalGLib.Value
.New in version 3.0.
- set_datetimeperiod(v)¶
- Parameters:
v (
ICalGLib.Datetimeperiod
) – The datetimeperiod value
Sets the datetimeperiod in the
ICalGLib.Value
.New in version 1.0.
- set_duration(v)¶
- Parameters:
v (
ICalGLib.Duration
) – The duration value
Sets the duration in the
ICalGLib.Value
.New in version 1.0.
- set_float(v)¶
- Parameters:
v (
float
) – The float value
Sets the float in the
ICalGLib.Value
.New in version 1.0.
- set_geo(v)¶
- Parameters:
v (
ICalGLib.Geo
) – The geo value
Sets the geo in the
ICalGLib.Value
.New in version 1.0.
- set_integer(v)¶
- Parameters:
v (
int
) – The integer value
Sets the integer in the
ICalGLib.Value
.New in version 1.0.
- set_method(v)¶
- Parameters:
v (
ICalGLib.PropertyMethod
) – The method value
Sets the method in the
ICalGLib.Value
.New in version 1.0.
- set_parent(property)¶
- Parameters:
property (
ICalGLib.Property
orNone
) – The parentICalGLib.Property
Sets the parent property of a value.
New in version 2.0.
- set_period(v)¶
- Parameters:
v (
ICalGLib.Period
) – The period value
Sets the period in the
ICalGLib.Value
.New in version 1.0.
- set_pollcompletion(v)¶
- Parameters:
v (
ICalGLib.PropertyPollcompletion
) – The pollcompletion value
Sets the pollcompletion in the
ICalGLib.Value
.New in version 2.0.
- set_pollmode(v)¶
- Parameters:
v (
ICalGLib.PropertyPollmode
) – The pollmode value
Sets the pollmode in the
ICalGLib.Value
.New in version 2.0.
- set_query(v)¶
- Parameters:
v (
str
) – The query value
Sets the query in the
ICalGLib.Value
.New in version 1.0.
- set_querylevel(v)¶
- Parameters:
v (
ICalGLib.PropertyQuerylevel
) – The querylevel value
Sets the querylevel in the
ICalGLib.Value
.New in version 1.0.
- set_recur(v)¶
- Parameters:
v (
ICalGLib.Recurrence
) – The recur value
Sets the recur in the
ICalGLib.Value
.New in version 1.0.
- set_requeststatus(v)¶
- Parameters:
v (
ICalGLib.Reqstat
) – The requeststatus value
Sets the requeststatus in the
ICalGLib.Value
.New in version 1.0.
- set_status(v)¶
- Parameters:
v (
ICalGLib.PropertyStatus
) – The status value
Sets the status in the
ICalGLib.Value
.New in version 1.0.
- set_string(v)¶
- Parameters:
v (
str
) – The string value
Sets the string in the
ICalGLib.Value
.New in version 1.0.
- set_taskmode(v)¶
- Parameters:
v (
ICalGLib.PropertyTaskmode
) – The taskmode value
Sets the taskmode in the
ICalGLib.Value
.New in version 2.0.
- set_text(v)¶
- Parameters:
v (
str
) – The text value
Sets the text in the
ICalGLib.Value
.New in version 1.0.
- set_transp(v)¶
- Parameters:
v (
ICalGLib.PropertyTransp
) – The transp value
Sets the transp in the
ICalGLib.Value
.New in version 1.0.
- set_trigger(v)¶
- Parameters:
v (
ICalGLib.Trigger
) – The trigger value
Sets the trigger in the
ICalGLib.Value
.New in version 1.0.
- set_uri(v)¶
- Parameters:
v (
str
) – The uri value
Sets the uri in the
ICalGLib.Value
.New in version 1.0.
- set_utcoffset(v)¶
- Parameters:
v (
int
) – The utcoffset value
Sets the utcoffset in the
ICalGLib.Value
.New in version 1.0.
- set_x(v)¶
- Parameters:
v (
str
) – The x value
Sets the x in the
ICalGLib.Value
.New in version 1.0.
- set_xlicclass(v)¶
- Parameters:
v (
ICalGLib.PropertyXlicclass
) – The xlicclass value
Sets the xlicclass in the
ICalGLib.Value
.New in version 1.0.