Blame docs/reference/html/GDataCalendarCalendar.html

Packit 4b6dd7
Packit 4b6dd7
<html>
Packit 4b6dd7
<head>
Packit 4b6dd7
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit 4b6dd7
<title>GDataCalendarCalendar: GData Reference Manual</title>
Packit 4b6dd7
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit 4b6dd7
<link rel="home" href="index.html" title="GData Reference Manual">
Packit 4b6dd7
<link rel="up" href="ch14.html" title="Google Calendar API">
Packit 4b6dd7
<link rel="prev" href="GDataCalendarQuery.html" title="GDataCalendarQuery">
Packit 4b6dd7
<link rel="next" href="GDataCalendarEvent.html" title="GDataCalendarEvent">
Packit 4b6dd7
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
Packit 4b6dd7
<link rel="stylesheet" href="style.css" type="text/css">
Packit 4b6dd7
</head>
Packit 4b6dd7
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Top  | 
Packit 4b6dd7
                  Description  | 
Packit 4b6dd7
                  Object Hierarchy  | 
Packit 4b6dd7
                  Implemented Interfaces  | 
Packit 4b6dd7
                  Properties
Packit 4b6dd7
Packit 4b6dd7
Home
Packit 4b6dd7
Up
Packit 4b6dd7
Prev
Packit 4b6dd7
Next
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

GDataCalendarCalendar

Packit 4b6dd7

GDataCalendarCalendar — GData Calendar calendar object

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Stability Level

Packit 4b6dd7
Packit 4b6dd7
develop applications to these interfaces, release them, and have confidence that
Packit 4b6dd7
they will run on all minor releases of the product (after the one in which the
Packit 4b6dd7
interface was introduced, and within the same major release). Even at a major
Packit 4b6dd7
release, incompatible changes are expected to be rare, and to have strong
Packit 4b6dd7
justifications.
Packit 4b6dd7
">Stable, unless otherwise indicated
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Functions

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
GDataCalendarCalendar *
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_new ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
void
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_get_color ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
void
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_set_color ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gboolean
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_is_hidden ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
void
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_set_is_hidden ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gboolean
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_is_selected ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
void
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_set_is_selected ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
const gchar *
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_get_timezone ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
void
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_set_timezone ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gint64
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_get_edited ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
guint
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_get_times_cleaned ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
const gchar *
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gdata_calendar_calendar_get_access_level ()
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Properties

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gchar *
Packit 4b6dd7
access-level
Packit 4b6dd7
Read
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
GDataColor *
Packit 4b6dd7
color
Packit 4b6dd7
Read / Write
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gint64
Packit 4b6dd7
edited
Packit 4b6dd7
Read
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gboolean
Packit 4b6dd7
is-hidden
Packit 4b6dd7
Read / Write
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gboolean
Packit 4b6dd7
is-selected
Packit 4b6dd7
Read / Write
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
guint
Packit 4b6dd7
times-cleaned
Packit 4b6dd7
Read
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
gchar *
Packit 4b6dd7
timezone
Packit 4b6dd7
Read / Write
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Types and Values

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
 
Packit 4b6dd7
GDataCalendarCalendar
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
 
Packit 4b6dd7
GDataCalendarCalendarClass
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Object Hierarchy

Packit 4b6dd7
    GObject
Packit 4b6dd7
    ╰── GDataParsable
Packit 4b6dd7
        ╰── GDataEntry
Packit 4b6dd7
            ╰── GDataCalendarCalendar
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Implemented Interfaces

Packit 4b6dd7

Packit 4b6dd7
GDataCalendarCalendar implements
Packit 4b6dd7
 GDataAccessHandler.

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Includes

Packit 4b6dd7
#include <gdata/services/calendar/gdata-calendar-calendar.h>
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Description

Packit 4b6dd7

GDataCalendarCalendar is a subclass of GDataEntry to represent a calendar from Google Calendar.

Packit 4b6dd7

GDataCalendarCalendar implements GDataAccessHandler, meaning the access rules to it can be modified using that interface. As well as the

Packit 4b6dd7
access roles defined for the base GDataAccessRule (e.g. GDATA_ACCESS_ROLE_NONE), GDataCalendarCalendar has its own, such as
Packit 4b6dd7
GDATA_CALENDAR_ACCESS_ROLE_EDITOR and GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY.

Packit 4b6dd7

For more details of Google Calendar's GData API, see the

Packit 4b6dd7
online documentation.

Packit 4b6dd7
Packit 4b6dd7

Example 18. Listing Calendars

Packit 4b6dd7
Packit 4b6dd7
  
Packit 4b6dd7
    
Packit 4b6dd7
      
Packit 4b6dd7
        
1
Packit 4b6dd7
2
Packit 4b6dd7
3
Packit 4b6dd7
4
Packit 4b6dd7
5
Packit 4b6dd7
6
Packit 4b6dd7
7
Packit 4b6dd7
8
Packit 4b6dd7
9
Packit 4b6dd7
10
Packit 4b6dd7
11
Packit 4b6dd7
12
Packit 4b6dd7
13
Packit 4b6dd7
14
Packit 4b6dd7
15
Packit 4b6dd7
16
Packit 4b6dd7
17
Packit 4b6dd7
18
Packit 4b6dd7
19
Packit 4b6dd7
20
Packit 4b6dd7
21
Packit 4b6dd7
22
Packit 4b6dd7
23
Packit 4b6dd7
24
Packit 4b6dd7
25
Packit 4b6dd7
26
Packit 4b6dd7
27
Packit 4b6dd7
28
Packit 4b6dd7
29
Packit 4b6dd7
30
Packit 4b6dd7
31
Packit 4b6dd7
32
Packit 4b6dd7
33
Packit 4b6dd7
34
Packit 4b6dd7
35
Packit 4b6dd7
        
GDataCalendarService *service;
Packit 4b6dd7
GDataFeed *feed;
Packit 4b6dd7
GList *i;
Packit 4b6dd7
GError *error = NULL;
Packit 4b6dd7
Packit 4b6dd7
/* Create a service */
Packit 4b6dd7
service = create_calendar_service ();
Packit 4b6dd7
Packit 4b6dd7
/* Query for all of the calendars the currently authenticated user has access to, including those which they have read-only
Packit 4b6dd7
 * access to. */
Packit 4b6dd7
feed = gdata_calendar_service_query_all_calendars (service, NULL, NULL, NULL, NULL, &error);
Packit 4b6dd7
Packit 4b6dd7
g_object_unref (service);
Packit 4b6dd7
Packit 4b6dd7
if (error != NULL) {
Packit 4b6dd7
    g_error ("Error querying for calendars: %s", error->message);
Packit 4b6dd7
    g_error_free (error);
Packit 4b6dd7
    return;
Packit 4b6dd7
}
Packit 4b6dd7
Packit 4b6dd7
/* Iterate through the returned calendars and do something with them */
Packit 4b6dd7
for (i = gdata_feed_get_entries (feed); i != NULL; i = i->next) {
Packit 4b6dd7
    const gchar *access_level;
Packit 4b6dd7
    gboolean has_write_access;
Packit 4b6dd7
    GDataCalendarCalendar *calendar = GDATA_CALENDAR_CALENDAR (i->data);
Packit 4b6dd7
Packit 4b6dd7
    /* Determine whether we have write access to the calendar, or just read-only or free/busy access. Note that the access levels
Packit 4b6dd7
     * are more detailed than this; see the documentation for gdata_calendar_calendar_get_access_level() for more information. */
Packit 4b6dd7
    access_level = gdata_calendar_calendar_get_access_level (calendar);
Packit 4b6dd7
    has_write_access = (access_level != NULL && strcmp (access_level, GDATA_CALENDAR_ACCESS_ROLE_EDITOR) == 0) ? TRUE : FALSE;
Packit 4b6dd7
Packit 4b6dd7
    /* Do something with the calendar here, such as insert it into a UI */
Packit 4b6dd7
}
Packit 4b6dd7
Packit 4b6dd7
g_object_unref (feed);
Packit 4b6dd7
      
Packit 4b6dd7
    
Packit 4b6dd7
  
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Functions

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_new ()

Packit 4b6dd7
GDataCalendarCalendar *
Packit 4b6dd7
gdata_calendar_calendar_new (const gchar *id);
Packit 4b6dd7

Creates a new GDataCalendarCalendar with the given ID and default properties.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

id

Packit 4b6dd7

the calendar's ID, or NULL.

Packit 4b6dd7
[allow-none]
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Returns

Packit 4b6dd7

a new GDataCalendarCalendar; unref with g_object_unref()

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_get_color ()

Packit 4b6dd7
void
Packit 4b6dd7
gdata_calendar_calendar_get_color (GDataCalendarCalendar *self,
Packit 4b6dd7
                                   GDataColor *color);
Packit 4b6dd7

Gets the “color” property and puts it in color

Packit 4b6dd7
.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

color

Packit 4b6dd7

a GDataColor.

Packit 4b6dd7
[out caller-allocates]
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_set_color ()

Packit 4b6dd7
void
Packit 4b6dd7
gdata_calendar_calendar_set_color (GDataCalendarCalendar *self,
Packit 4b6dd7
                                   const GDataColor *color);
Packit 4b6dd7

Sets the “color” property to color

Packit 4b6dd7
.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

color

Packit 4b6dd7

a new GDataColor

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_is_hidden ()

Packit 4b6dd7
gboolean
Packit 4b6dd7
gdata_calendar_calendar_is_hidden (GDataCalendarCalendar *self);
Packit 4b6dd7

Gets the “is-hidden” property.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Returns

Packit 4b6dd7

TRUE if the calendar is hidden, FALSE otherwise

Packit 4b6dd7
Packit 4b6dd7

Since: 0.2.0

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_set_is_hidden ()

Packit 4b6dd7
void
Packit 4b6dd7
gdata_calendar_calendar_set_is_hidden (GDataCalendarCalendar *self,
Packit 4b6dd7
                                       gboolean is_hidden);
Packit 4b6dd7

Sets the “is-hidden” property to is_hidden

Packit 4b6dd7
.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

is_hidden

Packit 4b6dd7

TRUE to hide the calendar, FALSE otherwise

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Since: 0.2.0

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_is_selected ()

Packit 4b6dd7
gboolean
Packit 4b6dd7
gdata_calendar_calendar_is_selected (GDataCalendarCalendar *self);
Packit 4b6dd7

Gets the “is-selected” property.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Returns

Packit 4b6dd7

TRUE if the calendar is selected, FALSE otherwise

Packit 4b6dd7
Packit 4b6dd7

Since: 0.2.0

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_set_is_selected ()

Packit 4b6dd7
void
Packit 4b6dd7
gdata_calendar_calendar_set_is_selected
Packit 4b6dd7
                               (GDataCalendarCalendar *self,
Packit 4b6dd7
                                gboolean is_selected);
Packit 4b6dd7

Sets the “is-selected” property to is_selected

Packit 4b6dd7
.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

is_selected

Packit 4b6dd7

TRUE to select the calendar, FALSE otherwise

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Since: 0.2.0

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_get_timezone ()

Packit 4b6dd7
const gchar *
Packit 4b6dd7
gdata_calendar_calendar_get_timezone (GDataCalendarCalendar *self);
Packit 4b6dd7

Gets the “timezone” property.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Returns

Packit 4b6dd7

the calendar's timezone, or NULL

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_set_timezone ()

Packit 4b6dd7
void
Packit 4b6dd7
gdata_calendar_calendar_set_timezone (GDataCalendarCalendar *self,
Packit 4b6dd7
                                      const gchar *_timezone);
Packit 4b6dd7

Sets the “timezone” property to the new timezone, _timezone

Packit 4b6dd7
.

Packit 4b6dd7

Set _timezone

Packit 4b6dd7
 to NULL to unset the property in the calendar.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

_timezone

Packit 4b6dd7

a new timezone, or NULL.

Packit 4b6dd7
[allow-none]
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_get_edited ()

Packit 4b6dd7
gint64
Packit 4b6dd7
gdata_calendar_calendar_get_edited (GDataCalendarCalendar *self);
Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_get_edited has been deprecated since version 0.17.2 and should not be used in newly-written code.

Packit 4b6dd7

Unsupported by the online API any more. There is no

Packit 4b6dd7
  replacement; this will always return -1.

Packit 4b6dd7
Packit 4b6dd7

Gets the “edited” property. If the property is unset, -1 will be returned.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Returns

Packit 4b6dd7

the UNIX timestamp for the time the calendar was last edited, or -1

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_get_times_cleaned ()

Packit 4b6dd7
guint
Packit 4b6dd7
gdata_calendar_calendar_get_times_cleaned
Packit 4b6dd7
                               (GDataCalendarCalendar *self);
Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_get_times_cleaned has been deprecated since version 0.17.2 and should not be used in newly-written code.

Packit 4b6dd7

Unsupported by the online API any more. There is no

Packit 4b6dd7
  replacement; this will always return 0.

Packit 4b6dd7
Packit 4b6dd7

Gets the “times-cleaned” property.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Returns

Packit 4b6dd7

the number of times the calendar has been totally emptied

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

gdata_calendar_calendar_get_access_level ()

Packit 4b6dd7
const gchar *
Packit 4b6dd7
gdata_calendar_calendar_get_access_level
Packit 4b6dd7
                               (GDataCalendarCalendar *self);
Packit 4b6dd7

Gets the “access-level” property.

Packit 4b6dd7
Packit 4b6dd7

Parameters

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

self

Packit 4b6dd7

a GDataCalendarCalendar

Packit 4b6dd7
 
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Returns

Packit 4b6dd7

the authenticated user's access level to the calendar, or NULL

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Types and Values

Packit 4b6dd7
Packit 4b6dd7

GDataCalendarCalendar

Packit 4b6dd7
typedef struct _GDataCalendarCalendar GDataCalendarCalendar;
Packit 4b6dd7

All the fields in the GDataCalendarCalendar structure are private and should never be accessed directly.

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

GDataCalendarCalendarClass

Packit 4b6dd7
typedef struct {
Packit 4b6dd7
} GDataCalendarCalendarClass;
Packit 4b6dd7
Packit 4b6dd7

All the fields in the GDataCalendarCalendarClass structure are private and should never be accessed directly.

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Property Details

Packit 4b6dd7
Packit 4b6dd7

The “access-level” property

Packit 4b6dd7
  “access-level”             gchar *
Packit 4b6dd7

Indicates the access level the current user has to the calendar. For example: GDATA_CALENDAR_ACCESS_ROLE_READ or

Packit 4b6dd7
GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY. The "current user" is the one authenticated against the service's “authorizer”,
Packit 4b6dd7
or the guest user.

Packit 4b6dd7

Flags: Read

Packit 4b6dd7

Default value: NULL

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

The “color” property

Packit 4b6dd7
  “color”                    GDataColor *
Packit 4b6dd7

The background color used to highlight the calendar in the user’s

Packit 4b6dd7
browser. This used to be restricted to a limited set of colours, but
Packit 4b6dd7
since 0.17.2 may be any RGB colour.

Packit 4b6dd7

Flags: Read / Write

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

The “edited” property

Packit 4b6dd7
  “edited”                   gint64
Packit 4b6dd7

The last time the calendar was edited. If the calendar has not been edited yet, the content indicates the time it was created.

Packit 4b6dd7

For more information, see the

Packit 4b6dd7
Atom Publishing Protocol specification.

Packit 4b6dd7
Packit 4b6dd7

GDataCalendarCalendar:edited has been deprecated since version 0.17.2 and should not be used in newly-written code.

Packit 4b6dd7

Unsupported by the online API any more. There

Packit 4b6dd7
is no replacement; this will always return -1.

Packit 4b6dd7
Packit 4b6dd7

Flags: Read

Packit 4b6dd7

Allowed values: >= -1

Packit 4b6dd7

Default value: -1

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

The “is-hidden” property

Packit 4b6dd7
  “is-hidden”                gboolean
Packit 4b6dd7

Indicates whether the calendar is visible.

Packit 4b6dd7

Flags: Read / Write

Packit 4b6dd7

Default value: FALSE

Packit 4b6dd7

Since: 0.2.0

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

The “is-selected” property

Packit 4b6dd7
  “is-selected”              gboolean
Packit 4b6dd7

Indicates whether the calendar is selected.

Packit 4b6dd7

Flags: Read / Write

Packit 4b6dd7

Default value: FALSE

Packit 4b6dd7

Since: 0.2.0

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

The “times-cleaned” property

Packit 4b6dd7
  “times-cleaned”            guint
Packit 4b6dd7

The number of times the calendar has been cleared of events.

Packit 4b6dd7
Packit 4b6dd7

GDataCalendarCalendar:times-cleaned has been deprecated since version 0.17.2 and should not be used in newly-written code.

Packit 4b6dd7

Unsupported by the online API any more. There

Packit 4b6dd7
  is no replacement; this will always return

Packit 4b6dd7
0.
Packit 4b6dd7
Packit 4b6dd7

Flags: Read

Packit 4b6dd7

Default value: 0

Packit 4b6dd7
Packit 4b6dd7

Packit 4b6dd7
Packit 4b6dd7

The “timezone” property

Packit 4b6dd7
  “timezone”                 gchar *
Packit 4b6dd7

The timezone in which the calendar's times are given. This is a timezone name in tz database notation: reference.

Packit 4b6dd7

Flags: Read / Write

Packit 4b6dd7

Default value: NULL

Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7
Packit 4b6dd7

Generated by GTK-Doc V1.26.1
Packit 4b6dd7
</body>
Packit 4b6dd7
</html>