Re: [Evolution-hackers] Getting the calendar text from an ecal
- From: Rodrigo Moya <rodrigo ximian com>
- To: Trent Lloyd <lathiat bur st>
- Cc: evolution-hackers lists ximian com
- Subject: Re: [Evolution-hackers] Getting the calendar text from an ecal
- Date: Sun, 04 Apr 2004 00:26:45 +0200
On Sun, 2004-04-04 at 01:31 +0800, Trent Lloyd wrote:
> Hi Guys,
>
> How do you get the text for an entire calendar, rather than just
> individual objects in the calendar.
>
> The code below prints a calendar for each object, I just want one for the whole thing
>
you can't, there is no concept of file in the calendar backends (except
for the file-based ones, of course), which means there is no API to do
that. But creating the entire file is pretty easy. Just create a
VCALENDAR top-level component (e_cal_util_new_toplevel) and add to it
the events and the timezones needed for those events
(icalcomponent_add_component on the VCALENDAR).
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]