53
53
<a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage-struct" title="GDataGContactLanguage">GDataGContactLanguage</a>;
54
54
<a class="link" href="GDataGContactLanguage.html#GDataGContactLanguageClass" title="GDataGContactLanguageClass">GDataGContactLanguageClass</a>;
55
<a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="returnvalue">GDataGContactLanguage</span></a> * <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-new" title="gdata_gcontact_language_new ()">gdata_gcontact_language_new</a> (<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>,
56
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
57
const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-get-code" title="gdata_gcontact_language_get_code ()">gdata_gcontact_language_get_code</a> (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);
55
<a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="returnvalue">GDataGContactLanguage</span></a> * <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-new" title="gdata_gcontact_language_new ()">gdata_gcontact_language_new</a> (<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>,
56
<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
57
const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-get-code" title="gdata_gcontact_language_get_code ()">gdata_gcontact_language_get_code</a> (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);
58
58
<span class="returnvalue">void</span> <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-set-code" title="gdata_gcontact_language_set_code ()">gdata_gcontact_language_set_code</a> (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>,
59
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>);
60
const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-get-label" title="gdata_gcontact_language_get_label ()">gdata_gcontact_language_get_label</a> (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);
59
<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>);
60
const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-get-label" title="gdata_gcontact_language_get_label ()">gdata_gcontact_language_get_label</a> (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);
61
61
<span class="returnvalue">void</span> <a class="link" href="GDataGContactLanguage.html#gdata-gcontact-language-set-label" title="gdata_gcontact_language_set_label ()">gdata_gcontact_language_set_label</a> (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>,
62
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
62
<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
65
65
<div class="refsect1">
66
66
<a name="GDataGContactLanguage.object-hierarchy"></a><h2>Object Hierarchy</h2>
67
67
<pre class="synopsis">
68
<a href="/opt/gnome2/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
68
<a href="/opt/gnome3/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
69
69
+----<a class="link" href="GDataParsable.html" title="GDataParsable">GDataParsable</a>
70
70
+----GDataGContactLanguage
79
79
<div class="refsect1">
80
80
<a name="GDataGContactLanguage.properties"></a><h2>Properties</h2>
81
81
<pre class="synopsis">
82
"<a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'>code</a>" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
83
"<a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'>label</a>" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
82
"<a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'>code</a>" <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
83
"<a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'>label</a>" <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
86
86
<div class="refsect1">
115
115
<div class="refsect2">
116
116
<a name="gdata-gcontact-language-new"></a><h3>gdata_gcontact_language_new ()</h3>
117
<pre class="programlisting"><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="returnvalue">GDataGContactLanguage</span></a> * gdata_gcontact_language_new (<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>,
118
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
117
<pre class="programlisting"><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="returnvalue">GDataGContactLanguage</span></a> * gdata_gcontact_language_new (<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>,
118
<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
120
120
Creates a new <a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a>. More information is available in the <a class="ulink" href="http://code.google.com/apis/contacts/docs/3.0/reference.html#gcLanguage" target="_top">gContact specification</a>.
123
Exactly one of <em class="parameter"><code>code</code></em> and <em class="parameter"><code>label</code></em> should be provided; the other must be <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
123
Exactly one of <em class="parameter"><code>code</code></em> and <em class="parameter"><code>label</code></em> should be provided; the other must be <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
125
125
<div class="variablelist"><table border="0">
126
126
<col align="left" valign="top">
129
129
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
130
<td>the language code, or <a href="/opt/gnome2/build/share/gtk-doc/html/glib/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>
130
<td>the language code, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/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>
134
134
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
135
<td>a free-form label for the language, or <a href="/opt/gnome2/build/share/gtk-doc/html/glib/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>
135
<td>a free-form label for the language, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/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>
139
139
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
140
<td>a new <a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a>; unref with <a href="/opt/gnome2/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
140
<td>a new <a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a>; unref with <a href="/opt/gnome3/build/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
148
148
<div class="refsect2">
149
149
<a name="gdata-gcontact-language-get-code"></a><h3>gdata_gcontact_language_get_code ()</h3>
150
<pre class="programlisting">const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdata_gcontact_language_get_code (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);</pre>
150
<pre class="programlisting">const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdata_gcontact_language_get_code (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);</pre>
152
152
Gets the <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'><span class="type">"code"</span></a> property.
163
163
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
164
<td>the language's code, or <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
164
<td>the language's code, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
172
172
<div class="refsect2">
173
173
<a name="gdata-gcontact-language-set-code"></a><h3>gdata_gcontact_language_set_code ()</h3>
174
174
<pre class="programlisting"><span class="returnvalue">void</span> gdata_gcontact_language_set_code (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>,
175
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>);</pre>
175
<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *code</code></em>);</pre>
177
177
Sets the <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'><span class="type">"code"</span></a> property to <em class="parameter"><code>code</code></em>.
180
If <em class="parameter"><code>code</code></em> is <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the code will be unset. When the <a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> is used in a query, however,
181
exactly one of <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'><span class="type">"code"</span></a> and <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'><span class="type">"label"</span></a> must be <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
180
If <em class="parameter"><code>code</code></em> is <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the code will be unset. When the <a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> is used in a query, however,
181
exactly one of <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'><span class="type">"code"</span></a> and <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'><span class="type">"label"</span></a> must be <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
183
183
<div class="variablelist"><table border="0">
184
184
<col align="left" valign="top">
192
192
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
193
<td>the new code for the language, or <a href="/opt/gnome2/build/share/gtk-doc/html/glib/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>
193
<td>the new code for the language, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/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>
201
201
<div class="refsect2">
202
202
<a name="gdata-gcontact-language-get-label"></a><h3>gdata_gcontact_language_get_label ()</h3>
203
<pre class="programlisting">const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdata_gcontact_language_get_label (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);</pre>
203
<pre class="programlisting">const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdata_gcontact_language_get_label (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>);</pre>
205
205
Gets the <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'><span class="type">"label"</span></a> property.
216
216
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
217
<td>a free-form label for the language, or <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
217
<td>a free-form label for the language, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
225
225
<div class="refsect2">
226
226
<a name="gdata-gcontact-language-set-label"></a><h3>gdata_gcontact_language_set_label ()</h3>
227
227
<pre class="programlisting"><span class="returnvalue">void</span> gdata_gcontact_language_set_label (<em class="parameter"><code><a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> *self</code></em>,
228
<em class="parameter"><code>const <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
228
<em class="parameter"><code>const <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
230
230
Sets the <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'><span class="type">"label"</span></a> property to <em class="parameter"><code>label</code></em>.
233
If <em class="parameter"><code>label</code></em> is <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the label will be unset. When the <a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> is used in a query, however,
234
exactly one of <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'><span class="type">"code"</span></a> and <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'><span class="type">"label"</span></a> must be <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
233
If <em class="parameter"><code>label</code></em> is <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the label will be unset. When the <a class="link" href="GDataGContactLanguage.html" title="GDataGContactLanguage"><span class="type">GDataGContactLanguage</span></a> is used in a query, however,
234
exactly one of <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'><span class="type">"code"</span></a> and <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'><span class="type">"label"</span></a> must be <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
236
236
<div class="variablelist"><table border="0">
237
237
<col align="left" valign="top">
245
245
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
246
<td>the new free-form label for the language, or <a href="/opt/gnome2/build/share/gtk-doc/html/glib/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>
246
<td>the new free-form label for the language, or <a href="/opt/gnome3/build/share/gtk-doc/html/glib/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>
255
255
<a name="GDataGContactLanguage.property-details"></a><h2>Property Details</h2>
256
256
<div class="refsect2">
257
257
<a name="GDataGContactLanguage--code"></a><h3>The <code class="literal">"code"</code> property</h3>
258
<pre class="programlisting"> "code" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
258
<pre class="programlisting"> "code" <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
260
260
A code identifying the language, conforming to the IETF BCP 47 specification. It is mutually exclusive with <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--label" title='The "label" property'><span class="type">"label"</span></a>.
270
270
<div class="refsect2">
271
271
<a name="GDataGContactLanguage--label"></a><h3>The <code class="literal">"label"</code> property</h3>
272
<pre class="programlisting"> "label" <a href="/opt/gnome2/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
272
<pre class="programlisting"> "label" <a href="/opt/gnome3/build/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
274
274
A free-form string that identifies the language. It is mutually exclusive with <a class="link" href="GDataGContactLanguage.html#GDataGContactLanguage--code" title='The "code" property'><span class="type">"code"</span></a>.