Cal
Object Hierarchy:
Description:
Namespace: E
Package: libecalendar-1.2
Content:
Static methods:
- public static unowned string get_error_message (CalendarStatus status)
Gets an error message for the given status code.
- public static void marshal_VOID__ENUM_ENUM (Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
- public static void marshal_VOID__STRING_UINT (Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
- public static void marshal_VOID__UINT_STRING (Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
- public static unowned string match_tzid (string tzid)
Matches
tzid
against the system timezone definitions and returns the matching TZID, or null if none found - public static string system_timezone_get_location ()
Returns system timezone location string, NULL on an error.
- public static string util_get_system_timezone_location ()
Returns system timezone location string, NULL on an error.
- public static int util_priority_from_string (string string)
Converts a translated priority string to an iCalendar priority value.
- public static unowned string util_priority_to_string (int priority)
Converts an iCalendar PRIORITY value to a translated string.
Creation methods:
- public Cal (Source source, CalSourceType type)
Creates a new calendar client.
Methods:
- public bool discard_alarm (CalComponent comp, string auid) throws Error
Tells the calendar backend to get rid of the alarm identified by the
auid
argument incomp
. - public bool get_alarm_email_address (string alarm_address) throws Error
Queries the address to be used for alarms in a calendar client.
- public bool get_alarms_for_object (CalComponentId id, long start, long end, CalComponentAlarms alarms)
Queries a calendar for the alarms of a particular object that trigger in the specified range of time.
- public bool get_cal_address (string cal_address) throws Error
Queries the calendar address associated with a calendar client.
- public bool get_ldap_attribute (string ldap_attribute) throws Error
Queries the LDAP attribute for a calendar client.
- public CalLoadState get_load_state ()
Queries the state of loading of a calendar client.
- public unowned string get_local_attachment_store ()
Queries the URL where the calendar attachments are serialized in the local filesystem.
- public bool get_object_list (string query, out List<long> objects) throws Error
Gets a list of objects from the calendar that match the query specified by the
query
argument. - public bool get_one_alarm_only ()
Checks if a calendar supports only one alarm per component.
- public bool get_organizer_must_accept ()
Checks whether a calendar requires organizer to accept their attendance to meetings.
- public bool get_organizer_must_attend ()
Checks if a calendar forces organizers of meetings to be also attendees.
- public bool get_query (string sexp, out CalView query) throws Error
Creates a live query object from a loaded calendar.
- public bool get_recurrences_no_master ()
Checks if the calendar has a master object for recurrences.
- public bool get_refresh_supported ()
Checks whether a calendar supports explicit refreshing (see
e_cal_refresh
). - public bool get_save_schedules ()
Checks whether the calendar saves schedules.
- public CalSourceType get_source_type ()
Gets the type of the calendar client.
- public bool get_static_capability (string cap)
Queries the calendar for static capabilities.
- public bool is_read_only (bool read_only) throws Error
Queries whether the calendar client can perform modifications on the calendar or not.
- public bool open (bool only_if_exists) throws Error
Makes a calendar client initiate a request to open a calendar.
- public void open_async (bool only_if_exists)
Open the calendar asynchronously.
- public bool refresh () throws Error
Invokes refresh on a calendar.
- public bool remove () throws Error
Removes a calendar.
- public bool remove_object (string uid) throws Error
Asks a calendar to remove all components with the given UID.
Signals:
- public virtual signal void backend_died ()
- public virtual signal void backend_error (string message)
- public virtual signal void cal_opened (int status)
- public virtual signal void cal_opened_ex (long error)
Inherited Members:
All known members inherited from class GLib.Object