/usr/share/gtk-doc/html/gdata/GDataCalendarCalendar.html is in libgdata-doc 0.14.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GData Reference Manual: GDataCalendarCalendar</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch14.html" title="Google Calendar API">
<link rel="prev" href="GDataCalendarQuery.html" title="GDataCalendarQuery">
<link rel="next" href="GDataCalendarEvent.html" title="GDataCalendarEvent">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#GDataCalendarCalendar.description" class="shortcut">Description</a>
|
<a href="#GDataCalendarCalendar.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GDataCalendarCalendar.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GDataCalendarCalendar.properties" class="shortcut">Properties</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch14.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GDataCalendarQuery.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GDataCalendarEvent.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataCalendarCalendar"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataCalendarCalendar.top_of_page"></a>GDataCalendarCalendar</span></h2>
<p>GDataCalendarCalendar — GData Calendar calendar object</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataCalendarCalendar.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="GDataCalendarCalendar.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <gdata/services/calendar/gdata-calendar-calendar.h>
#define <a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-READ:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_READ">GDATA_CALENDAR_ACCESS_ROLE_READ</a>
#define <a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-FREE-BUSY:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY">GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY</a>
#define <a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-EDITOR:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_EDITOR">GDATA_CALENDAR_ACCESS_ROLE_EDITOR</a>
#define <a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-OWNER:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_OWNER">GDATA_CALENDAR_ACCESS_ROLE_OWNER</a>
#define <a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-ROOT:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_ROOT">GDATA_CALENDAR_ACCESS_ROLE_ROOT</a>
<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar-struct" title="GDataCalendarCalendar">GDataCalendarCalendar</a>;
<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendarClass" title="GDataCalendarCalendarClass">GDataCalendarCalendarClass</a>;
<a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="returnvalue">GDataCalendarCalendar</span></a> * <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-new" title="gdata_calendar_calendar_new ()">gdata_calendar_calendar_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-get-color" title="gdata_calendar_calendar_get_color ()">gdata_calendar_calendar_get_color</a> (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a> *color</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-set-color" title="gdata_calendar_calendar_set_color ()">gdata_calendar_calendar_set_color</a> (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code>const <a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a> *color</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-is-hidden" title="gdata_calendar_calendar_is_hidden ()">gdata_calendar_calendar_is_hidden</a> (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-set-is-hidden" title="gdata_calendar_calendar_set_is_hidden ()">gdata_calendar_calendar_set_is_hidden</a>
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_hidden</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-is-selected" title="gdata_calendar_calendar_is_selected ()">gdata_calendar_calendar_is_selected</a> (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-set-is-selected" title="gdata_calendar_calendar_set_is_selected ()">gdata_calendar_calendar_set_is_selected</a>
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_selected</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-get-timezone" title="gdata_calendar_calendar_get_timezone ()">gdata_calendar_calendar_get_timezone</a>
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-set-timezone" title="gdata_calendar_calendar_set_timezone ()">gdata_calendar_calendar_set_timezone</a>
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *_timezone</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-get-edited" title="gdata_calendar_calendar_get_edited ()">gdata_calendar_calendar_get_edited</a> (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-get-times-cleaned" title="gdata_calendar_calendar_get_times_cleaned ()">gdata_calendar_calendar_get_times_cleaned</a>
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDataCalendarCalendar.html#gdata-calendar-calendar-get-access-level" title="gdata_calendar_calendar_get_access_level ()">gdata_calendar_calendar_get_access_level</a>
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GDataCalendarCalendar.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a class="link" href="GDataParsable.html" title="GDataParsable">GDataParsable</a>
+----<a class="link" href="GDataEntry.html" title="GDataEntry">GDataEntry</a>
+----GDataCalendarCalendar
</pre>
</div>
<div class="refsect1">
<a name="GDataCalendarCalendar.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GDataCalendarCalendar implements
<a class="link" href="GDataAccessHandler.html" title="GDataAccessHandler">GDataAccessHandler</a>.</p>
</div>
<div class="refsect1">
<a name="GDataCalendarCalendar.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--access-level" title='The "access-level" property'>access-level</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
"<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--color" title='The "color" property'>color</a>" <a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a>* : Read / Write
"<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--edited" title='The "edited" property'>edited</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read
"<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--is-hidden" title='The "is-hidden" property'>is-hidden</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--is-selected" title='The "is-selected" property'>is-selected</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--times-cleaned" title='The "times-cleaned" property'>times-cleaned</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
"<a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--timezone" title='The "timezone" property'>timezone</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GDataCalendarCalendar.description"></a><h2>Description</h2>
<p>
<a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> is a subclass of <a class="link" href="GDataEntry.html" title="GDataEntry"><span class="type">GDataEntry</span></a> to represent a calendar from Google Calendar.
</p>
<p>
<a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> implements <a class="link" href="GDataAccessHandler.html" title="GDataAccessHandler"><span class="type">GDataAccessHandler</span></a>, meaning the access rules to it can be modified using that interface. As well as the
access roles defined for the base <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> (e.g. <a class="link" href="GDataAccessRule.html#GDATA-ACCESS-ROLE-NONE:CAPS" title="GDATA_ACCESS_ROLE_NONE"><code class="literal">GDATA_ACCESS_ROLE_NONE</code></a>), <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> has its own, such as
<a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-EDITOR:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_EDITOR"><code class="literal">GDATA_CALENDAR_ACCESS_ROLE_EDITOR</code></a> and <a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-FREE-BUSY:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY"><code class="literal">GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY</code></a>.
</p>
<p>
For more details of Google Calendar's GData API, see the <a class="ulink" href="http://code.google.com/apis/calendar/docs/2.0/reference.html" target="_top">
online documentation</a>.
</p>
<p>
</p>
<div class="example">
<a name="id-1.5.3.5.8.5.1"></a><p class="title"><b>Example 18. Listing Calendars</b></p>
<div class="example-contents">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="usertype">GDataCalendarService</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">service</span><span class="symbol">;</span>
<span class="usertype">GDataFeed</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">feed</span><span class="symbol">;</span>
<span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">i</span><span class="symbol">;</span>
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
<span class="comment">/* Create a service */</span>
<span class="normal">service </span><span class="symbol">=</span><span class="normal"> </span><span class="function">create_calendar_service</span><span class="normal"> </span><span class="symbol">();</span>
<span class="comment">/* Query for all of the calendars the currently authenticated user has access to, including those which they have read-only</span>
<span class="comment"> * access to. */</span>
<span class="normal">feed </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataCalendarService.html#gdata-calendar-service-query-all-calendars">gdata_calendar_service_query_all_calendars</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error querying for calendars: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
<span class="cbracket">}</span>
<span class="comment">/* Iterate through the returned calendars and do something with them */</span>
<span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataFeed.html#gdata-feed-get-entries">gdata_feed_get_entries</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">feed</span><span class="symbol">);</span><span class="normal"> i </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> i </span><span class="symbol">=</span><span class="normal"> i</span><span class="symbol">-></span><span class="normal">next</span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">access_level</span><span class="symbol">;</span>
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> has_write_access</span><span class="symbol">;</span>
<span class="normal"> </span><span class="usertype">GDataCalendarCalendar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">calendar </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GDATA_CALENDAR_CALENDAR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i</span><span class="symbol">-></span><span class="normal">data</span><span class="symbol">);</span>
<span class="normal"> </span><span class="comment">/* Determine whether we have write access to the calendar, or just read-only or free/busy access. Note that the access levels</span>
<span class="comment"> * are more detailed than this; see the documentation for gdata_calendar_calendar_get_access_level() for more information. */</span>
<span class="normal"> access_level </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataCalendarCalendar.html#gdata-calendar-calendar-get-access-level">gdata_calendar_calendar_get_access_level</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">calendar</span><span class="symbol">);</span>
<span class="normal"> has_write_access </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">access_level </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="symbol">&&</span><span class="normal"> </span><span class="function">strcmp</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">access_level</span><span class="symbol">,</span><span class="normal"> <a href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-EDITOR:CAPS">GDATA_CALENDAR_ACCESS_ROLE_EDITOR</a></span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">?</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a> </span><span class="symbol">:</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
<span class="normal"> </span><span class="comment">/* Do something with the calendar here, such as insert it into a UI */</span>
<span class="cbracket">}</span>
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">feed</span><span class="symbol">);</span></pre></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><br class="example-break">
</p>
</div>
<div class="refsect1">
<a name="GDataCalendarCalendar.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-READ:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_READ</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_READ "http://schemas.google.com/gCal/2005#read"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> have read-only access to the calendar.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-FREE-BUSY:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY "http://schemas.google.com/gCal/2005#freebusy"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> can only see the free/busy information on the calendar; not event details.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-EDITOR:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_EDITOR</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_EDITOR "http://schemas.google.com/gCal/2005#editor"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> have full edit access to the calendar, except they can't change the calendar's access rules.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-OWNER:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_OWNER</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_OWNER "http://schemas.google.com/gCal/2005#owner"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> have full owner access to the calendar.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-ROOT:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_ROOT</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_ROOT "http://schemas.google.com/gCal/2005#root"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> have full administrator access to the calendar server.
This is only available in Google Apps For Your Domain.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendar-struct"></a><h3>GDataCalendarCalendar</h3>
<pre class="programlisting">typedef struct _GDataCalendarCalendar GDataCalendarCalendar;</pre>
<p>
All the fields in the <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> structure are private and should never be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendarClass"></a><h3>GDataCalendarCalendarClass</h3>
<pre class="programlisting">typedef struct {
} GDataCalendarCalendarClass;
</pre>
<p>
All the fields in the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendarClass" title="GDataCalendarCalendarClass"><span class="type">GDataCalendarCalendarClass</span></a> structure are private and should never be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-new"></a><h3>gdata_calendar_calendar_new ()</h3>
<pre class="programlisting"><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="returnvalue">GDataCalendarCalendar</span></a> * gdata_calendar_calendar_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
<p>
Creates a new <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> with the given ID and default properties.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>the calendar's ID, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>; unref with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-get-color"></a><h3>gdata_calendar_calendar_get_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdata_calendar_calendar_get_color (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code><a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a> *color</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--color" title='The "color" property'><span class="type">"color"</span></a> property and puts it in <em class="parameter"><code>color</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>a <a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-set-color"></a><h3>gdata_calendar_calendar_set_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdata_calendar_calendar_set_color (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code>const <a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a> *color</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--color" title='The "color" property'><span class="type">"color"</span></a> property to <em class="parameter"><code>color</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>a new <a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-is-hidden"></a><h3>gdata_calendar_calendar_is_hidden ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdata_calendar_calendar_is_hidden (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--is-hidden" title='The "is-hidden" property'><span class="type">"is-hidden"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the calendar is hidden, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-set-is-hidden"></a><h3>gdata_calendar_calendar_set_is_hidden ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdata_calendar_calendar_set_is_hidden
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_hidden</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--is-hidden" title='The "is-hidden" property'><span class="type">"is-hidden"</span></a> property to <em class="parameter"><code>is_hidden</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_hidden</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to hide the calendar, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-is-selected"></a><h3>gdata_calendar_calendar_is_selected ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdata_calendar_calendar_is_selected (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--is-selected" title='The "is-selected" property'><span class="type">"is-selected"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the calendar is selected, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-set-is-selected"></a><h3>gdata_calendar_calendar_set_is_selected ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdata_calendar_calendar_set_is_selected
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_selected</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--is-selected" title='The "is-selected" property'><span class="type">"is-selected"</span></a> property to <em class="parameter"><code>is_selected</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_selected</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to select the calendar, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-get-timezone"></a><h3>gdata_calendar_calendar_get_timezone ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdata_calendar_calendar_get_timezone
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--timezone" title='The "timezone" property'><span class="type">"timezone"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the calendar's timezone, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-set-timezone"></a><h3>gdata_calendar_calendar_set_timezone ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdata_calendar_calendar_set_timezone
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *_timezone</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--timezone" title='The "timezone" property'><span class="type">"timezone"</span></a> property to the new timezone, <em class="parameter"><code>_timezone</code></em>.
</p>
<p>
Set <em class="parameter"><code>_timezone</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the calendar.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>_timezone</code></em> :</span></p></td>
<td>a new timezone, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-get-edited"></a><h3>gdata_calendar_calendar_get_edited ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> gdata_calendar_calendar_get_edited (<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--edited" title='The "edited" property'><span class="type">"edited"</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the UNIX timestamp for the time the calendar was last edited, or <code class="code">-1</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-get-times-cleaned"></a><h3>gdata_calendar_calendar_get_times_cleaned ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gdata_calendar_calendar_get_times_cleaned
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--times-cleaned" title='The "times-cleaned" property'><span class="type">"times-cleaned"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of times the calendar has been totally emptied</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-calendar-get-access-level"></a><h3>gdata_calendar_calendar_get_access_level ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdata_calendar_calendar_get_access_level
(<em class="parameter"><code><a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataCalendarCalendar.html#GDataCalendarCalendar--access-level" title='The "access-level" property'><span class="type">"access-level"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar"><span class="type">GDataCalendarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the authenticated user's access level to the calendar, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GDataCalendarCalendar.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataCalendarCalendar--access-level"></a><h3>The <code class="literal">"access-level"</code> property</h3>
<pre class="programlisting"> "access-level" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
<p>
Indicates the access level the current user has to the calendar. For example: <a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-READ:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_READ"><code class="literal">GDATA_CALENDAR_ACCESS_ROLE_READ</code></a> or
<a class="link" href="GDataCalendarCalendar.html#GDATA-CALENDAR-ACCESS-ROLE-FREE-BUSY:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY"><code class="literal">GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY</code></a>. The "current user" is the one authenticated against the service's <a class="link" href="GDataService.html#GDataService--authorizer" title='The "authorizer" property'><span class="type">"authorizer"</span></a>,
or the guest user.
</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendar--color"></a><h3>The <code class="literal">"color"</code> property</h3>
<pre class="programlisting"> "color" <a class="link" href="gdata-GData-Types.html#GDataColor"><span class="type">GDataColor</span></a>* : Read / Write</pre>
<p>
The color used to highlight the calendar in the user's browser. This must be one of a limited set of colors listed in the
<a class="ulink" href="http://code.google.com/apis/calendar/data/2.0/reference.html#gCalcolor" target="_top">online documentation</a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendar--edited"></a><h3>The <code class="literal">"edited"</code> property</h3>
<pre class="programlisting"> "edited" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read</pre>
<p>
The last time the calendar was edited. If the calendar has not been edited yet, the content indicates the time it was created.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/protocol/#appEdited" target="_top">
Atom Publishing Protocol specification</a>.
</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendar--is-hidden"></a><h3>The <code class="literal">"is-hidden"</code> property</h3>
<pre class="programlisting"> "is-hidden" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>
Indicates whether the calendar is visible.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendar--is-selected"></a><h3>The <code class="literal">"is-selected"</code> property</h3>
<pre class="programlisting"> "is-selected" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>
Indicates whether the calendar is selected.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendar--times-cleaned"></a><h3>The <code class="literal">"times-cleaned"</code> property</h3>
<pre class="programlisting"> "times-cleaned" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
<p>
The number of times the calendar has been cleared of events.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarCalendar--timezone"></a><h3>The <code class="literal">"timezone"</code> property</h3>
<pre class="programlisting"> "timezone" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>
The timezone in which the calendar's times are given. This is a timezone name in tz database notation: <a class="ulink" href="http://en.wikipedia.org/wiki/Tz_database#Names_of_time_zones" target="_top">reference</a>.
</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
|