Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GDataCalendarQuery: GData Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch14.html" title="Google Calendar API">
<link rel="prev" href="GDataCalendarFeed.html" title="GDataCalendarFeed">
<link rel="next" href="GDataCalendarCalendar.html" title="GDataCalendarCalendar">
<meta name="generator" content="GTK-Doc V1.26.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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GDataCalendarQuery.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GDataCalendarQuery.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GDataCalendarQuery.properties" class="shortcut">Properties</a></span>
</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="GDataCalendarFeed.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GDataCalendarCalendar.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataCalendarQuery"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataCalendarQuery.top_of_page"></a>GDataCalendarQuery</span></h2>
<p>GDataCalendarQuery — GData Calendar query object</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataCalendarQuery.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="returnvalue">GDataCalendarQuery</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-new" title="gdata_calendar_query_new ()">gdata_calendar_query_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="returnvalue">GDataCalendarQuery</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-new-with-limits" title="gdata_calendar_query_new_with_limits ()">gdata_calendar_query_new_with_limits</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-future-events" title="gdata_calendar_query_get_future_events ()">gdata_calendar_query_get_future_events</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-future-events" title="gdata_calendar_query_set_future_events ()">gdata_calendar_query_set_future_events</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-single-events" title="gdata_calendar_query_get_single_events ()">gdata_calendar_query_get_single_events</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-single-events" title="gdata_calendar_query_set_single_events ()">gdata_calendar_query_set_single_events</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-order-by" title="gdata_calendar_query_get_order_by ()">gdata_calendar_query_get_order_by</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-order-by" title="gdata_calendar_query_set_order_by ()">gdata_calendar_query_set_order_by</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-sort-order" title="gdata_calendar_query_get_sort_order ()">gdata_calendar_query_get_sort_order</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-sort-order" title="gdata_calendar_query_set_sort_order ()">gdata_calendar_query_set_sort_order</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-start-min" title="gdata_calendar_query_get_start_min ()">gdata_calendar_query_get_start_min</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-start-min" title="gdata_calendar_query_set_start_min ()">gdata_calendar_query_set_start_min</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-start-max" title="gdata_calendar_query_get_start_max ()">gdata_calendar_query_get_start_max</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-start-max" title="gdata_calendar_query_set_start_max ()">gdata_calendar_query_set_start_max</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-recurrence-expansion-start" title="gdata_calendar_query_get_recurrence_expansion_start ()">gdata_calendar_query_get_recurrence_expansion_start</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-recurrence-expansion-start" title="gdata_calendar_query_set_recurrence_expansion_start ()">gdata_calendar_query_set_recurrence_expansion_start</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-recurrence-expansion-end" title="gdata_calendar_query_get_recurrence_expansion_end ()">gdata_calendar_query_get_recurrence_expansion_end</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-recurrence-expansion-end" title="gdata_calendar_query_set_recurrence_expansion_end ()">gdata_calendar_query_set_recurrence_expansion_end</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-timezone" title="gdata_calendar_query_get_timezone ()">gdata_calendar_query_get_timezone</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-timezone" title="gdata_calendar_query_set_timezone ()">gdata_calendar_query_set_timezone</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-get-max-attendees" title="gdata_calendar_query_get_max_attendees ()">gdata_calendar_query_get_max_attendees</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-max-attendees" title="gdata_calendar_query_set_max_attendees ()">gdata_calendar_query_set_max_attendees</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-show-deleted" title="gdata_calendar_query_show_deleted ()">gdata_calendar_query_show_deleted</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataCalendarQuery.html#gdata-calendar-query-set-show-deleted" title="gdata_calendar_query_set_show_deleted ()">gdata_calendar_query_set_show_deleted</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--future-events" title="The “future-events” property">future-events</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--max-attendees" title="The “max-attendees” property">max-attendees</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--order-by" title="The “order-by” property">order-by</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-end" title="The “recurrence-expansion-end” property">recurrence-expansion-end</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-start" title="The “recurrence-expansion-start” property">recurrence-expansion-start</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--show-deleted" title="The “show-deleted” property">show-deleted</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property">single-events</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--sort-order" title="The “sort-order” property">sort-order</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property">start-max</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property">start-min</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--timezone" title="The “timezone” property">timezone</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery-struct" title="GDataCalendarQuery">GDataCalendarQuery</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataCalendarQuery.html#GDataCalendarQueryClass" title="GDataCalendarQueryClass">GDataCalendarQueryClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="GDataQuery.html" title="GDataQuery">GDataQuery</a>
        <span class="lineart">╰──</span> GDataCalendarQuery
</pre>
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gdata/services/calendar/gdata-calendar-query.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.description"></a><h2>Description</h2>
<p><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> represents a collection of query parameters specific to the Google Calendar service, which go above and beyond
those catered for by <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a>.</p>
<p>For more information on the custom GData query parameters supported by <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a>, see the <a class="ulink" href="https://developers.google.com/google-apps/calendar/v3/reference/events/list" target="_top">online
documentation</a>.</p>
<div class="example">
<a name="id-1.5.3.4.9.4"></a><p class="title"><b>Example 17. Querying for Events</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
36
37
38
39</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">GDataCalendarCalendar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">calendar</span><span class="symbol">;</span>
<span class="usertype">GDataCalendarQuery</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">query</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">GTimeVal</span><span class="normal"> current_time</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="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>

<span class="comment">/* Create a service and find a calendar to query in */</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="normal">calendar </span><span class="symbol">=</span><span class="normal"> </span><span class="function">get_calendar</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>

<span class="comment">/* Create the query to use. We're going to query for events within the next week which match the search term "party",</span>
<span class="comment"> * ordered by last modification time (descending). */</span>
<span class="function"><a href="../glib/glib-Date-and-Time-Functions.html#g-get-current-time">g_get_current_time</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">current_time</span><span class="symbol">);</span>
<span class="normal">query </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataCalendarQuery.html#gdata-calendar-query-new-with-limits">gdata_calendar_query_new_with_limits</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"party"</span><span class="symbol">,</span><span class="normal"> current_time</span><span class="symbol">.</span><span class="normal">tv_sec</span><span class="symbol">,</span><span class="normal"> current_time</span><span class="symbol">.</span><span class="normal">tv_sec </span><span class="symbol">+</span><span class="normal"> </span><span class="number">7</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">24</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">60</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">60</span><span class="symbol">);</span>
<span class="function"><a href="GDataCalendarQuery.html#gdata-calendar-query-set-order-by">gdata_calendar_query_set_order_by</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">query</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"lastmodified"</span><span class="symbol">);</span>

<span class="comment">/* Execute the query */</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-events">gdata_calendar_service_query_events</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">,</span><span class="normal"> calendar</span><span class="symbol">,</span><span class="normal"> query</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>

<span class="function"><a href="../gobject/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">query</span><span class="symbol">);</span>
<span class="function"><a href="../gobject/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">calendar</span><span class="symbol">);</span>
<span class="function"><a href="../gobject/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="../glib/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="../glib/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error querying for events: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
<span class="normal">    </span><span class="function"><a href="../glib/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 events 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="../glib/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">-&gt;</span><span class="normal">next</span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
<span class="normal">    </span><span class="usertype">GDataCalendarEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GDATA_CALENDAR_EVENT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i</span><span class="symbol">-&gt;</span><span class="normal">data</span><span class="symbol">);</span>

<span class="normal">    </span><span class="comment">/* Do something with the event here, such as insert it into a UI */</span>
<span class="cbracket">}</span>

<span class="function"><a href="../gobject/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>
<br class="example-break">
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gdata-calendar-query-new"></a><h3>gdata_calendar_query_new ()</h3>
<pre class="programlisting"><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="returnvalue">GDataCalendarQuery</span></a> *
gdata_calendar_query_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>);</pre>
<p>Creates a new <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> with its <a class="link" href="GDataQuery.html#GDataQuery--q" title="The “q” property"><span class="type">“q”</span></a> property set to <em class="parameter"><code>q</code></em>
.</p>
<div class="refsect3">
<a name="gdata-calendar-query-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>q</p></td>
<td class="parameter_description"><p>a query string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><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>
<div class="refsect3">
<a name="gdata-calendar-query-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-new-with-limits"></a><h3>gdata_calendar_query_new_with_limits ()</h3>
<pre class="programlisting"><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="returnvalue">GDataCalendarQuery</span></a> *
gdata_calendar_query_new_with_limits (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>,
                                      <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> start_min</code></em>,
                                      <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> start_max</code></em>);</pre>
<p>Creates a new <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> with its <a class="link" href="GDataQuery.html#GDataQuery--q" title="The “q” property"><span class="type">“q”</span></a> property set to <em class="parameter"><code>q</code></em>
, and the time limits <em class="parameter"><code>start_min</code></em>
 and <em class="parameter"><code>start_max</code></em>

applied (both in seconds since the UNIX epoch).</p>
<div class="refsect3">
<a name="gdata-calendar-query-new-with-limits.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>q</p></td>
<td class="parameter_description"><p>a query string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><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 class="parameter_name"><p>start_min</p></td>
<td class="parameter_description"><p>a starting time for the event period, or -1</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start_max</p></td>
<td class="parameter_description"><p>an ending time for the event period, or -1</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-new-with-limits.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-future-events"></a><h3>gdata_calendar_query_get_future_events ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_calendar_query_get_future_events
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--future-events" title="The “future-events” property"><span class="type">“future-events”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-future-events.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-future-events.returns"></a><h4>Returns</h4>
<p> the future events property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-future-events"></a><h3>gdata_calendar_query_set_future_events ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_future_events
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> future_events</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--future-events" title="The “future-events” property"><span class="type">“future-events”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> to <em class="parameter"><code>future_events</code></em>
.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-future-events.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>future_events</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to unconditionally show future events, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-single-events"></a><h3>gdata_calendar_query_get_single_events ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_calendar_query_get_single_events
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-single-events.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-single-events.returns"></a><h4>Returns</h4>
<p> the single events property</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-single-events"></a><h3>gdata_calendar_query_set_single_events ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_single_events
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> single_events</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> to <em class="parameter"><code>single_events</code></em>
.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-single-events.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>single_events</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to show recurring events as single events, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-order-by"></a><h3>gdata_calendar_query_get_order_by ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_calendar_query_get_order_by (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--order-by" title="The “order-by” property"><span class="type">“order-by”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-order-by.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-order-by.returns"></a><h4>Returns</h4>
<p> the order by property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-order-by"></a><h3>gdata_calendar_query_set_order_by ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_order_by (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                   <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *order_by</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--order-by" title="The “order-by” property"><span class="type">“order-by”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> to the new order by string, <em class="parameter"><code>order_by</code></em>
.</p>
<p>Set <em class="parameter"><code>order_by</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-order-by.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>order_by</p></td>
<td class="parameter_description"><p>a new order by string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><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>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-sort-order"></a><h3>gdata_calendar_query_get_sort_order ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_calendar_query_get_sort_order (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_calendar_query_get_sort_order</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Manually sort the results after retrieving them, as this is no longer supported on the server.</p>
</div>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--sort-order" title="The “sort-order” property"><span class="type">“sort-order”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-sort-order.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-sort-order.returns"></a><h4>Returns</h4>
<p> the sort order property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-sort-order"></a><h3>gdata_calendar_query_set_sort_order ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_sort_order (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                     <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sort_order</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_calendar_query_set_sort_order</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Manually sort the results after retrieving them, as this is no longer supported on the server.</p>
</div>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--sort-order" title="The “sort-order” property"><span class="type">“sort-order”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> to the new sort order string, <em class="parameter"><code>sort_order</code></em>
.</p>
<p>Set <em class="parameter"><code>sort_order</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-sort-order.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sort_order</p></td>
<td class="parameter_description"><p>a new sort order string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><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>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-start-min"></a><h3>gdata_calendar_query_get_start_min ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_calendar_query_get_start_min (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property"><span class="type">“start-min”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-start-min.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-start-min.returns"></a><h4>Returns</h4>
<p> the UNIX timestamp (in seconds) for the start-min property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-start-min"></a><h3>gdata_calendar_query_set_start_min ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_start_min (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> start_min</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property"><span class="type">“start-min”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a>
to the new time/date, <em class="parameter"><code>start_min</code></em>
.</p>
<p>Set <em class="parameter"><code>start_min</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-start-min.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start_min</p></td>
<td class="parameter_description"><p>a new minimum start time (in seconds since the UNIX epoch), or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-start-max"></a><h3>gdata_calendar_query_get_start_max ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_calendar_query_get_start_max (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property"><span class="type">“start-max”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-start-max.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-start-max.returns"></a><h4>Returns</h4>
<p> the UNIX timestamp (in seconds) for the start-max property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-start-max"></a><h3>gdata_calendar_query_set_start_max ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_start_max (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> start_max</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property"><span class="type">“start-max”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a>
to the new time/date, <em class="parameter"><code>start_max</code></em>
.</p>
<p>Set <em class="parameter"><code>start_max</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-start-max.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start_max</p></td>
<td class="parameter_description"><p>a new maximum start time (in seconds since the UNIX epoch), or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-recurrence-expansion-start"></a><h3>gdata_calendar_query_get_recurrence_expansion_start ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_calendar_query_get_recurrence_expansion_start
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_calendar_query_get_recurrence_expansion_start</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> instead, as this is no longer supported on the server.</p>
</div>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-start" title="The “recurrence-expansion-start” property"><span class="type">“recurrence-expansion-start”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-recurrence-expansion-start.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-recurrence-expansion-start.returns"></a><h4>Returns</h4>
<p> the UNIX timestamp for the recurrence-expansion-start property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-recurrence-expansion-start"></a><h3>gdata_calendar_query_set_recurrence_expansion_start ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_recurrence_expansion_start
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> start</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_calendar_query_set_recurrence_expansion_start</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> instead, as this is no longer supported on the server.</p>
</div>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-start" title="The “recurrence-expansion-start” property"><span class="type">“recurrence-expansion-start”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a>
to the new time/date, <em class="parameter"><code>start</code></em>
.</p>
<p>Set <em class="parameter"><code>start</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-recurrence-expansion-start.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start</p></td>
<td class="parameter_description"><p>a new start time, or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-recurrence-expansion-end"></a><h3>gdata_calendar_query_get_recurrence_expansion_end ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_calendar_query_get_recurrence_expansion_end
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_calendar_query_get_recurrence_expansion_end</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> instead, as this is no longer supported on the server.</p>
</div>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-end" title="The “recurrence-expansion-end” property"><span class="type">“recurrence-expansion-end”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-recurrence-expansion-end.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-recurrence-expansion-end.returns"></a><h4>Returns</h4>
<p> the UNIX timestamp for the recurrence-expansion-end property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-recurrence-expansion-end"></a><h3>gdata_calendar_query_set_recurrence_expansion_end ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_recurrence_expansion_end
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> end</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_calendar_query_set_recurrence_expansion_end</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> instead, as this is no longer supported on the server.</p>
</div>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-end" title="The “recurrence-expansion-end” property"><span class="type">“recurrence-expansion-end”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a>
to the new time/date, <em class="parameter"><code>end</code></em>
.</p>
<p>Set <em class="parameter"><code>end</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-recurrence-expansion-end.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>end</p></td>
<td class="parameter_description"><p>a new end time, or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-timezone"></a><h3>gdata_calendar_query_get_timezone ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_calendar_query_get_timezone (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--timezone" title="The “timezone” property"><span class="type">“timezone”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-timezone.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-timezone.returns"></a><h4>Returns</h4>
<p> the timezone property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</p>
</div>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-timezone"></a><h3>gdata_calendar_query_set_timezone ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_timezone (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                   <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *_timezone</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--timezone" title="The “timezone” property"><span class="type">“timezone”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> to the new timezone string, <em class="parameter"><code>timezone</code></em>
.</p>
<p>Set <em class="parameter"><code>timezone</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-timezone.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>_timezone</p></td>
<td class="parameter_description"><p>a new timezone string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><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>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-get-max-attendees"></a><h3>gdata_calendar_query_get_max_attendees ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gdata_calendar_query_get_max_attendees
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--max-attendees" title="The “max-attendees” property"><span class="type">“max-attendees”</span></a> property. If the property is unset, <code class="code">0</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-calendar-query-get-max-attendees.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-get-max-attendees.returns"></a><h4>Returns</h4>
<p> the maximum number of attendees, or <code class="code">0</code></p>
</div>
<p class="since">Since: <a class="link" href="ix12.html#api-index-0.9.1">0.9.1</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-max-attendees"></a><h3>gdata_calendar_query_set_max_attendees ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_max_attendees
                               (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_attendees</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--max-attendees" title="The “max-attendees” property"><span class="type">“max-attendees”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> to the new value, <em class="parameter"><code>max_attendees</code></em>
.</p>
<p>Set <em class="parameter"><code>max_attendees</code></em>
 to <code class="code">0</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-max-attendees.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>max_attendees</p></td>
<td class="parameter_description"><p>a new maximum attendee count, or <code class="code">0</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix12.html#api-index-0.9.1">0.9.1</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-show-deleted"></a><h3>gdata_calendar_query_show_deleted ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_calendar_query_show_deleted (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--show-deleted" title="The “show-deleted” property"><span class="type">“show-deleted”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-calendar-query-show-deleted.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-query-show-deleted.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if deleted/cancelled events should be shown, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
<p class="since">Since: <a class="link" href="ix12.html#api-index-0.9.1">0.9.1</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-calendar-query-set-show-deleted"></a><h3>gdata_calendar_query_set_show_deleted ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_calendar_query_set_show_deleted (<em class="parameter"><code><a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> *self</code></em>,
                                       <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_deleted</code></em>);</pre>
<p>Sets the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--show-deleted" title="The “show-deleted” property"><span class="type">“show-deleted”</span></a> property of the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a>.</p>
<div class="refsect3">
<a name="gdata-calendar-query-set-show-deleted.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>show_deleted</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to show deleted events, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix12.html#api-index-0.9.1">0.9.1</a></p>
</div>
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GDataCalendarQuery-struct"></a><h3>GDataCalendarQuery</h3>
<pre class="programlisting">typedef struct _GDataCalendarQuery GDataCalendarQuery;</pre>
<p>All the fields in the <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery"><span class="type">GDataCalendarQuery</span></a> structure are private and should never be accessed directly.</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQueryClass"></a><h3>GDataCalendarQueryClass</h3>
<pre class="programlisting">typedef struct {
} GDataCalendarQueryClass;
</pre>
<p>All the fields in the <a class="link" href="GDataCalendarQuery.html#GDataCalendarQueryClass" title="GDataCalendarQueryClass"><span class="type">GDataCalendarQueryClass</span></a> structure are private and should never be accessed directly.</p>
</div>
</div>
<div class="refsect1">
<a name="GDataCalendarQuery.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataCalendarQuery--future-events"></a><h3>The <code class="literal">“future-events”</code> property</h3>
<pre class="programlisting">  “future-events”            <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>A shortcut to request all events scheduled for the future. Overrides the
<a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-start" title="The “recurrence-expansion-start” property"><span class="type">“recurrence-expansion-start”</span></a>, <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--recurrence-expansion-end" title="The “recurrence-expansion-end” property"><span class="type">“recurrence-expansion-end”</span></a>,
<a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property"><span class="type">“start-min”</span></a> and <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property"><span class="type">“start-max”</span></a> properties.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--max-attendees"></a><h3>The <code class="literal">“max-attendees”</code> property</h3>
<pre class="programlisting">  “max-attendees”            <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>Specifies the maximum number of attendees to list for an event. If the actual number of attendees for an event is greater than this value,
only the current user and the event organiser are listed.</p>
<p>Flags: Read / Write</p>
<p>Default value: 0</p>
<p class="since">Since: <a class="link" href="ix12.html#api-index-0.9.1">0.9.1</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--order-by"></a><h3>The <code class="literal">“order-by”</code> property</h3>
<pre class="programlisting">  “order-by”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Specifies order of entries in a feed. Supported values are <code class="literal">lastmodified</code> and
<code class="literal">starttime</code>.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--recurrence-expansion-end"></a><h3>The <code class="literal">“recurrence-expansion-end”</code> property</h3>
<pre class="programlisting">  “recurrence-expansion-end” <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Specifies the end of the time period to expand recurring events for, exclusive.</p>
<div class="warning">
<p><code class="literal">GDataCalendarQuery:recurrence-expansion-end</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> instead, as this is no longer supported on the server.</p>
</div>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--recurrence-expansion-start"></a><h3>The <code class="literal">“recurrence-expansion-start”</code> property</h3>
<pre class="programlisting">  “recurrence-expansion-start” <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Specifies the beginning of the time period to expand recurring events for, inclusive.</p>
<div class="warning">
<p><code class="literal">GDataCalendarQuery:recurrence-expansion-start</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--single-events" title="The “single-events” property"><span class="type">“single-events”</span></a> instead, as this is no longer supported on the server.</p>
</div>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--show-deleted"></a><h3>The <code class="literal">“show-deleted”</code> property</h3>
<pre class="programlisting">  “show-deleted”             <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether to include deleted/cancelled events in the query feed. Deleted events have their <a class="link" href="GDataCalendarEvent.html#GDataCalendarEvent--status" title="The “status” property"><span class="type">“status”</span></a> property set to
<a class="link" href="GDataGDWhen.html#GDATA-GD-EVENT-STATUS-CANCELED:CAPS" title="GDATA_GD_EVENT_STATUS_CANCELED"><code class="literal">GDATA_GD_EVENT_STATUS_CANCELED</code></a>. They do not normally appear in query results.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: <a class="link" href="ix12.html#api-index-0.9.1">0.9.1</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--single-events"></a><h3>The <code class="literal">“single-events”</code> property</h3>
<pre class="programlisting">  “single-events”            <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Indicates whether recurring events should be expanded or represented as a single event.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--sort-order"></a><h3>The <code class="literal">“sort-order”</code> property</h3>
<pre class="programlisting">  “sort-order”               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Specifies direction of sorting. Supported values are <code class="literal">ascending</code> and
<code class="literal">descending</code>.</p>
<p>By default, results are returned in ascending order.</p>
<div class="warning">
<p><code class="literal">GDataCalendarQuery:sort-order</code> has been deprecated since version 0.17.7 and should not be used in newly-written code.</p>
<p>Manually sort the results after retrieving them, as this is no longer supported on the server.</p>
</div>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--start-max"></a><h3>The <code class="literal">“start-max”</code> property</h3>
<pre class="programlisting">  “start-max”                <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Together with <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property"><span class="type">“start-min”</span></a>, creates a timespan such that only events within the timespan are returned</p>
<p><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property"><span class="type">“start-min”</span></a> is inclusive, while <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property"><span class="type">“start-max”</span></a> is exclusive. Events that overlap the range are
included. Both are specified in seconds since the UNIX epoch.</p>
<p>If not specified, the default <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property"><span class="type">“start-max”</span></a> is <code class="literal">2031-01-01</code>.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--start-min"></a><h3>The <code class="literal">“start-min”</code> property</h3>
<pre class="programlisting">  “start-min”                <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Together with <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property"><span class="type">“start-max”</span></a>, creates a timespan such that only events within the timespan are returned.</p>
<p><a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property"><span class="type">“start-min”</span></a> is inclusive, while <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-max" title="The “start-max” property"><span class="type">“start-max”</span></a> is exclusive. Events that overlap the range are
included. Both are specified in seconds since the UNIX epoch.</p>
<p>If not specified, the default <a class="link" href="GDataCalendarQuery.html#GDataCalendarQuery--start-min" title="The “start-min” property"><span class="type">“start-min”</span></a> is <code class="literal">1970-01-01</code>.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarQuery--timezone"></a><h3>The <code class="literal">“timezone”</code> property</h3>
<pre class="programlisting">  “timezone”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The current timezone. If this is not specified, all times are returned in UTC.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.26.1</div>
</body>
</html>