ICal.Value – libical-glib Reference Manual
Value
Object Hierarchy:
ICal.Value
ICal.Value
ICal.Value
ICal.Object
ICal.Object
ICal.Object->ICal.Value
GLib.Object
GLib.Object
GLib.Object->ICal.Object
Description:
[
CCode
( type_id =
"i_cal_value_get_type ()"
) ]
public
class
Value
:
Object
This is the ICalValue instance.
Namespace:
ICal
Package:
libical-glib
Content:
Static methods:
public
static
string
?
decode_ical_string
(
string
szText)
Extracts the original character string encoded by the above function.
public
static
string
?
encode_ical_string
(
string
szText)
Encodes a character string in ical format, escape certain characters, etc.
Creation methods:
public
Value
(
ValueKind
kind)
Creates a new
Value
with specific kind.
public
Value.action
(
PropertyAction
v)
Creates a new
Value
with the type action.
public
Value.attach
(
Attach
v)
Creates a new
Value
with the type attach.
public
Value.binary
(
string
v)
Creates a new
Value
with the type binary.
public
Value.boolean
(
int
v)
Creates a new
Value
with the type boolean.
public
Value.busytype
(
PropertyBusytype
v)
Creates a new
Value
with the type busytype.
public
Value.caladdress
(
string
v)
Creates a new
Value
with the type caladdress.
public
Value.carlevel
(
PropertyCarlevel
v)
Creates a new
Value
with the type carlevel.
public
Value.class
(
Property_Class
v)
Creates a new
Value
with the type class.
public
Value.cmd
(
PropertyCmd
v)
Creates a new
Value
with the type cmd.
public
Value.date
(
Time
v)
Creates a new
Value
with the type date.
public
Value.datetime
(
Time
v)
Creates a new
Value
with the type datetime.
public
Value.datetimedate
(
Time
v)
Creates a new
Value
with the type datetimedate (DATE-TIME or DATE).
public
Value.datetimeperiod
(
Datetimeperiod
v)
Creates a new
Value
with the type datetimeperiod.
public
Value.duration
(
Duration
v)
Creates a new
Value
with the type duration.
public
Value.float
(
double
v)
Creates a new
Value
with the type float.
public
Value.from_string
(
ValueKind
kind,
string
str)
Creates a new
Value
based on the
ValueKind
and a string.
public
Value.geo
(
Geo
v)
Creates a new
Value
with the type geo.
public
Value.integer
(
int
v)
Creates a new
Value
with the type integer.
public
Value.method
(
PropertyMethod
v)
Creates a new
Value
with the type method.
public
Value.period
(
Period
v)
Creates a new
Value
with the type period.
public
Value.pollcompletion
(
PropertyPollcompletion
v)
Creates a new
Value
with the type pollcompletion.
public
Value.pollmode
(
PropertyPollmode
v)
Creates a new
Value
with the type pollmode.
public
Value.query
(
string
v)
Creates a new
Value
with the type query.
public
Value.querylevel
(
PropertyQuerylevel
v)
Creates a new
Value
with the type querylevel.
public
Value.recur
(
Recurrence
v)
Creates a new
Value
with the type recur.
public
Value.requeststatus
(
Reqstat
v)
Creates a new
Value
with the type requeststatus.
public
Value.status
(
PropertyStatus
v)
Creates a new
Value
with the type status.
public
Value.string
(
string
v)
Creates a new
Value
with the type string.
public
Value.taskmode
(
PropertyTaskmode
v)
Creates a new
Value
with the type taskmode.
public
Value.text
(
string
v)
Creates a new
Value
with the type text.
public
Value.transp
(
PropertyTransp
v)
Creates a new
Value
with the type transp.
public
Value.trigger
(
Trigger
v)
Creates a new
Value
with the type trigger.
public
Value.uri
(
string
v)
Creates a new
Value
with the type uri.
public
Value.utcoffset
(
int
v)
Creates a new
Value
with the type utcoffset.
public
Value.x
(
string
v)
Creates a new
Value
with the type x.
public
Value.xlicclass
(
PropertyXlicclass
v)
Creates a new
Value
with the type xlicclass.
Methods:
public
string
as_ical_string
()
Converts the
Value
to a string.
public
Value
clone
()
Deeply clone a
Value
.
public
ParameterXliccomparetype
compare
(
Value
b)
Compares two
Value
.
public
PropertyAction
get_action
()
Gets the action of
Value
.
public
unowned
Attach
?
get_attach
()
Gets the attach of
Value
.
public
unowned
string
?
get_binary
()
Gets the binary of
Value
.
public
int
get_boolean
()
Gets the boolean of
Value
.
public
PropertyBusytype
get_busytype
()
Gets the busytype of
Value
.
public
unowned
string
?
get_caladdress
()
Gets the caladdress of
Value
.
public
PropertyCarlevel
get_carlevel
()
Gets the carlevel of
Value
.
public
Property_Class
get_class
()
Gets the class of
Value
.
public
PropertyCmd
get_cmd
()
Gets the cmd of
Value
.
public
Time
?
get_date
()
Gets the date of
Value
.
public
Time
?
get_datetime
()
Gets the datetime of
Value
.
public
Time
?
get_datetimedate
()
Gets the datetimedate (DATE-TIME or DATE) of
Value
.
public
Datetimeperiod
?
get_datetimeperiod
()
Gets the datetimeperiod of
Value
.
public
Duration
?
get_duration
()
Gets the duration of
Value
.
public
double
get_float
()
Gets the float of
Value
.
public
Geo
?
get_geo
()
Gets the geo of
Value
.
public
int
get_integer
()
Gets the integer of
Value
.
public
PropertyMethod
get_method
()
Gets the method of
Value
.
public
Property
?
get_parent
()
Gets the parent
Property
of the specified
Value
.
public
Period
?
get_period
()
Gets the period of
Value
.
public
PropertyPollcompletion
get_pollcompletion
()
Gets the pollcompletion of
Value
.
public
PropertyPollmode
get_pollmode
()
Gets the pollmode of
Value
.
public
unowned
string
?
get_query
()
Gets the query of
Value
.
public
PropertyQuerylevel
get_querylevel
()
Gets the querylevel of
Value
.
public
Recurrence
?
get_recur
()
Gets the recur of
Value
.
public
Reqstat
?
get_requeststatus
()
Gets the requeststatus of
Value
.
public
PropertyStatus
get_status
()
Gets the status of
Value
.
public
unowned
string
?
get_string
()
Gets the string of
Value
.
public
PropertyTaskmode
get_taskmode
()
Gets the taskmode of
Value
.
public
unowned
string
?
get_text
()
Gets the text of
Value
.
public
PropertyTransp
get_transp
()
Gets the transp of
Value
.
public
Trigger
?
get_trigger
()
Gets the trigger of
Value
.
public
unowned
string
?
get_uri
()
Gets the uri of
Value
.
public
int
get_utcoffset
()
Gets the utcoffset of
Value
.
public
unowned
string
?
get_x
()
Gets the x of
Value
.
public
PropertyXlicclass
get_xlicclass
()
Gets the xlicclass of
Value
.
public
bool
is_valid
()
Checks if
Value
is valid.
public
ValueKind
isa
()
Gets the kind of
Value
.
public
int
isa_value
()
Checks whether the native part of
Value
is an icalvalue.
public
void
reset_kind
()
Resets the kind of
Value
.
public
void
set_action
(
PropertyAction
v)
Sets the action in the
Value
.
public
void
set_attach
(
Attach
v)
Sets the attach in the
Value
.
public
void
set_binary
(
string
v)
Sets the binary in the
Value
.
public
void
set_boolean
(
int
v)
Sets the boolean in the
Value
.
public
void
set_busytype
(
PropertyBusytype
v)
Sets the busytype in the
Value
.
public
void
set_caladdress
(
string
v)
Sets the caladdress in the
Value
.
public
void
set_carlevel
(
PropertyCarlevel
v)
Sets the carlevel in the
Value
.
public
void
set_class
(
Property_Class
v)
Sets the class in the
Value
.
public
void
set_cmd
(
PropertyCmd
v)
Sets the cmd in the
Value
.
public
void
set_date
(
Time
v)
Sets the date in the
Value
.
public
void
set_datetime
(
Time
v)
Sets the datetime in the
Value
.
public
void
set_datetimedate
(
Time
v)
Sets the datetimedate (DATE-TIME or DATE) in the
Value
.
public
void
set_datetimeperiod
(
Datetimeperiod
v)
Sets the datetimeperiod in the
Value
.
public
void
set_duration
(
Duration
v)
Sets the duration in the
Value
.
public
void
set_float
(
double
v)
Sets the float in the
Value
.
public
void
set_geo
(
Geo
v)
Sets the geo in the
Value
.
public
void
set_integer
(
int
v)
Sets the integer in the
Value
.
public
void
set_method
(
PropertyMethod
v)
Sets the method in the
Value
.
public
void
set_parent
(
Property
? property)
Sets the parent property of a value.
public
void
set_period
(
Period
v)
Sets the period in the
Value
.
public
void
set_pollcompletion
(
PropertyPollcompletion
v)
Sets the pollcompletion in the
Value
.
public
void
set_pollmode
(
PropertyPollmode
v)
Sets the pollmode in the
Value
.
public
void
set_query
(
string
v)
Sets the query in the
Value
.
public
void
set_querylevel
(
PropertyQuerylevel
v)
Sets the querylevel in the
Value
.
public
void
set_recur
(
Recurrence
v)
Sets the recur in the
Value
.
public
void
set_requeststatus
(
Reqstat
v)
Sets the requeststatus in the
Value
.
public
void
set_status
(
PropertyStatus
v)
Sets the status in the
Value
.
public
void
set_string
(
string
v)
Sets the string in the
Value
.
public
void
set_taskmode
(
PropertyTaskmode
v)
Sets the taskmode in the
Value
.
public
void
set_text
(
string
v)
Sets the text in the
Value
.
public
void
set_transp
(
PropertyTransp
v)
Sets the transp in the
Value
.
public
void
set_trigger
(
Trigger
v)
Sets the trigger in the
Value
.
public
void
set_uri
(
string
v)
Sets the uri in the
Value
.
public
void
set_utcoffset
(
int
v)
Sets the utcoffset in the
Value
.
public
void
set_x
(
string
v)
Sets the x in the
Value
.
public
void
set_xlicclass
(
PropertyXlicclass
v)
Sets the xlicclass in the
Value
.
Inherited Members:
All known members inherited from class ICal.Object
add_depender
always_destroy
free_global_objects
get_always_destroy
get_is_global_memory
is_global_memory
native
native_destroy_func
owner
ref_owner
remove_depender
remove_owner
set_always_destroy
set_native_destroy_func
set_owner
steal_native
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
2022 vala-language.org