open


Description:

[ Deprecated ( since = "3.2" ) ]
public bool open (bool only_if_exists) throws Error

Warning: open is deprecated.

Makes a calendar client initiate a request to open a calendar.

The calendar client will emit the "cal_opened" signal when the response from the server is received. Since 3.0 is emitted also "cal_opened_ex" signal, which contains a GError pointer from the open operation (NULL when no error occurred). New signal deprecates the old "cal_opened" signal.

Parameters:

only_if_exists

FALSE if the calendar should be opened even if there was no storage for it, i.e. to create a new calendar or load an existing one if it already exists. TRUE if it should only try to load calendars that already exist.

Returns:

TRUE on success, FALSE on failure to issue the open request.