~attente/glib/gicon-upstream

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/ExampleAnimal.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane, Josselin Mouette, Iain Lane
  • Date: 2012-10-17 11:51:14 UTC
  • mfrom: (172.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20121017115114-gqog9lavags5afi1
Tags: 2.34.1-1
[ Josselin Mouette ]
* Require libelfg0-dev, not libelf-dev which has nothing to do with 
  it.

[ Iain Lane ]
* New upstream release
  + GTimeZone support for zoneinfo version 1
  + Leak in glib-compile-resources
  + g_settings_bind: use canonical property name
  + Port gio tests from pygobject to pygi
* Switch python-gobject-2 BD to python-gi, folowing porting of tests. 
* debian/patches/50_git_gmenuexporter_allow_null_bus_on_name_vanished.patch:
  Cherry-pick upstream patch to fix crash when GBusNameVanishedCallback is
  called with a NULL GDBusConnection. (LP: #1044322)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch32s05.html" title="Generating code and docs">
9
9
<link rel="prev" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html" title="org.gtk.GDBus.Example.ObjectManager.Cat">
10
10
<link rel="next" href="ExampleCat.html" title="ExampleCat">
11
 
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
73
73
<span class="returnvalue">void</span>                <a class="link" href="ExampleAnimal.html#example-animal-emit-jumped" title="example_animal_emit_jumped ()">example_animal_emit_jumped</a>          (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>,
74
74
                                                         <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> arg_height</code></em>);
75
75
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ExampleAnimal.html#example-animal-get-mood" title="example_animal_get_mood ()">example_animal_get_mood</a>             (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);
 
76
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ExampleAnimal.html#example-animal-get-foo" title="example_animal_get_foo ()">example_animal_get_foo</a>              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);
 
77
const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ExampleAnimal.html#example-animal-get-bar" title="example_animal_get_bar ()">example_animal_get_bar</a>              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);
76
78
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="ExampleAnimal.html#example-animal-dup-mood" title="example_animal_dup_mood ()">example_animal_dup_mood</a>             (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);
 
79
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="ExampleAnimal.html#example-animal-dup-foo" title="example_animal_dup_foo ()">example_animal_dup_foo</a>              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);
 
80
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="ExampleAnimal.html#example-animal-dup-bar" title="example_animal_dup_bar ()">example_animal_dup_bar</a>              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);
77
81
<span class="returnvalue">void</span>                <a class="link" href="ExampleAnimal.html#example-animal-set-mood" title="example_animal_set_mood ()">example_animal_set_mood</a>             (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>,
78
82
                                                         <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
 
83
<span class="returnvalue">void</span>                <a class="link" href="ExampleAnimal.html#example-animal-set-foo" title="example_animal_set_foo ()">example_animal_set_foo</a>              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>,
 
84
                                                         <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
 
85
<span class="returnvalue">void</span>                <a class="link" href="ExampleAnimal.html#example-animal-set-bar" title="example_animal_set_bar ()">example_animal_set_bar</a>              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>,
 
86
                                                         <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
79
87
struct              <a class="link" href="ExampleAnimal.html#ExampleAnimalProxy-struct" title="struct ExampleAnimalProxy">ExampleAnimalProxy</a>;
80
88
struct              <a class="link" href="ExampleAnimal.html#ExampleAnimalProxyClass" title="struct ExampleAnimalProxyClass">ExampleAnimalProxyClass</a>;
81
89
<span class="returnvalue">void</span>                <a class="link" href="ExampleAnimal.html#example-animal-proxy-new" title="example_animal_proxy_new ()">example_animal_proxy_new</a>            (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
156
164
<div class="refsect1">
157
165
<a name="ExampleAnimal.properties"></a><h2>Properties</h2>
158
166
<pre class="synopsis">
 
167
  "<a class="link" href="ExampleAnimal.html#ExampleAnimal--bar" title='The "bar" property'>bar</a>"                      <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
168
  "<a class="link" href="ExampleAnimal.html#ExampleAnimal--foo" title='The "foo" property'>foo</a>"                      <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
159
169
  "<a class="link" href="ExampleAnimal.html#ExampleAnimal--mood" title='The "mood" property'>mood</a>"                     <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
160
170
</pre>
161
171
</div>
196
206
    gboolean arg_make_sad,
197
207
    gboolean arg_make_happy);
198
208
 
 
209
  const gchar * (*get_foo) (ExampleAnimal *object);
 
210
 
199
211
  const gchar * (*get_mood) (ExampleAnimal *object);
200
212
 
201
213
  void (*jumped) (
202
214
    ExampleAnimal *object,
203
215
    gdouble arg_height);
 
216
 
 
217
  const gchar * (*get_bar) (ExampleAnimal *object);
204
218
};
205
219
</pre>
206
220
<p>
221
235
<td>Handler for the <a class="link" href="ExampleAnimal.html#ExampleAnimal-handle-poke" title='The "handle-poke" signal'><span class="type">"handle-poke"</span></a> signal.</td>
222
236
</tr>
223
237
<tr>
 
238
<td><p><span class="term"><em class="structfield"><code><a name="ExampleAnimalIface.get-foo"></a>get_foo</code></em> ()</span></p></td>
 
239
<td>Getter for the <a class="link" href="ExampleAnimal.html#ExampleAnimal--foo" title='The "foo" property'><span class="type">"foo"</span></a> property.</td>
 
240
</tr>
 
241
<tr>
224
242
<td><p><span class="term"><em class="structfield"><code><a name="ExampleAnimalIface.get-mood"></a>get_mood</code></em> ()</span></p></td>
225
243
<td>Getter for the <a class="link" href="ExampleAnimal.html#ExampleAnimal--mood" title='The "mood" property'><span class="type">"mood"</span></a> property.</td>
226
244
</tr>
228
246
<td><p><span class="term"><em class="structfield"><code><a name="ExampleAnimalIface.jumped"></a>jumped</code></em> ()</span></p></td>
229
247
<td>Handler for the <a class="link" href="ExampleAnimal.html#ExampleAnimal-jumped" title='The "jumped" signal'><span class="type">"jumped"</span></a> signal.</td>
230
248
</tr>
 
249
<tr>
 
250
<td><p><span class="term"><em class="structfield"><code><a name="ExampleAnimalIface.get-bar"></a>get_bar</code></em> ()</span></p></td>
 
251
<td>Getter for the <a class="link" href="ExampleAnimal.html#ExampleAnimal--bar" title='The "bar" property'><span class="type">"bar"</span></a> property.</td>
 
252
</tr>
231
253
</tbody>
232
254
</table></div>
233
255
<p class="since">Since 2.30</p>
365
387
<tr>
366
388
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
367
389
<td>
368
 
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span>
 
390
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
369
391
</td>
370
392
</tr>
371
393
</tbody>
416
438
<tr>
417
439
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
418
440
<td>
419
 
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span>
 
441
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
420
442
</td>
421
443
</tr>
422
444
</tbody>
516
538
</div>
517
539
<hr>
518
540
<div class="refsect2">
 
541
<a name="example-animal-get-foo"></a><h3>example_animal_get_foo ()</h3>
 
542
<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       example_animal_get_foo              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);</pre>
 
543
<p>
 
544
Gets the value of the <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Foo" title='The "Foo" property'>"Foo"</a> D-Bus property.
 
545
</p>
 
546
<p>
 
547
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 
548
</p>
 
549
<p>
 
550
</p>
 
551
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
552
<h3 class="title">Warning</h3>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where <em class="parameter"><code>object</code></em> was constructed. Use <a class="link" href="ExampleAnimal.html#example-animal-dup-foo" title="example_animal_dup_foo ()"><code class="function">example_animal_dup_foo()</code></a> if on another thread.</div>
 
553
<p>
 
554
</p>
 
555
<div class="variablelist"><table border="0" class="variablelist">
 
556
<colgroup>
 
557
<col align="left" valign="top">
 
558
<col>
 
559
</colgroup>
 
560
<tbody>
 
561
<tr>
 
562
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
563
<td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>.</td>
 
564
</tr>
 
565
<tr>
 
566
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
567
<td>The property value or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the property is not set. Do not free the returned value, it belongs to <em class="parameter"><code>object</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
568
</td>
 
569
</tr>
 
570
</tbody>
 
571
</table></div>
 
572
<p class="since">Since 2.30</p>
 
573
</div>
 
574
<hr>
 
575
<div class="refsect2">
 
576
<a name="example-animal-get-bar"></a><h3>example_animal_get_bar ()</h3>
 
577
<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       example_animal_get_bar              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);</pre>
 
578
<p>
 
579
Gets the value of the <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Bar" title='The "Bar" property'>"Bar"</a> D-Bus property.
 
580
</p>
 
581
<p>
 
582
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 
583
</p>
 
584
<p>
 
585
</p>
 
586
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
587
<h3 class="title">Warning</h3>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where <em class="parameter"><code>object</code></em> was constructed. Use <a class="link" href="ExampleAnimal.html#example-animal-dup-bar" title="example_animal_dup_bar ()"><code class="function">example_animal_dup_bar()</code></a> if on another thread.</div>
 
588
<p>
 
589
</p>
 
590
<div class="variablelist"><table border="0" class="variablelist">
 
591
<colgroup>
 
592
<col align="left" valign="top">
 
593
<col>
 
594
</colgroup>
 
595
<tbody>
 
596
<tr>
 
597
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
598
<td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>.</td>
 
599
</tr>
 
600
<tr>
 
601
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
602
<td>The property value or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the property is not set. Do not free the returned value, it belongs to <em class="parameter"><code>object</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
603
</td>
 
604
</tr>
 
605
</tbody>
 
606
</table></div>
 
607
<p class="since">Since 2.36</p>
 
608
</div>
 
609
<hr>
 
610
<div class="refsect2">
519
611
<a name="example-animal-dup-mood"></a><h3>example_animal_dup_mood ()</h3>
520
612
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             example_animal_dup_mood             (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);</pre>
521
613
<p>
545
637
</div>
546
638
<hr>
547
639
<div class="refsect2">
 
640
<a name="example-animal-dup-foo"></a><h3>example_animal_dup_foo ()</h3>
 
641
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             example_animal_dup_foo              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);</pre>
 
642
<p>
 
643
Gets a copy of the <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Foo" title='The "Foo" property'>"Foo"</a> D-Bus property.
 
644
</p>
 
645
<p>
 
646
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 
647
</p>
 
648
<div class="variablelist"><table border="0" class="variablelist">
 
649
<colgroup>
 
650
<col align="left" valign="top">
 
651
<col>
 
652
</colgroup>
 
653
<tbody>
 
654
<tr>
 
655
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
656
<td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>.</td>
 
657
</tr>
 
658
<tr>
 
659
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
660
<td>The property value or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the property is not set. The returned value should be freed with <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
661
</td>
 
662
</tr>
 
663
</tbody>
 
664
</table></div>
 
665
<p class="since">Since 2.30</p>
 
666
</div>
 
667
<hr>
 
668
<div class="refsect2">
 
669
<a name="example-animal-dup-bar"></a><h3>example_animal_dup_bar ()</h3>
 
670
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             example_animal_dup_bar              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>);</pre>
 
671
<p>
 
672
Gets a copy of the <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Bar" title='The "Bar" property'>"Bar"</a> D-Bus property.
 
673
</p>
 
674
<p>
 
675
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 
676
</p>
 
677
<div class="variablelist"><table border="0" class="variablelist">
 
678
<colgroup>
 
679
<col align="left" valign="top">
 
680
<col>
 
681
</colgroup>
 
682
<tbody>
 
683
<tr>
 
684
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
685
<td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>.</td>
 
686
</tr>
 
687
<tr>
 
688
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
689
<td>The property value or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the property is not set. The returned value should be freed with <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
690
</td>
 
691
</tr>
 
692
</tbody>
 
693
</table></div>
 
694
<p class="since">Since 2.36</p>
 
695
</div>
 
696
<hr>
 
697
<div class="refsect2">
548
698
<a name="example-animal-set-mood"></a><h3>example_animal_set_mood ()</h3>
549
699
<pre class="programlisting"><span class="returnvalue">void</span>                example_animal_set_mood             (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>,
550
700
                                                         <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
574
724
</div>
575
725
<hr>
576
726
<div class="refsect2">
 
727
<a name="example-animal-set-foo"></a><h3>example_animal_set_foo ()</h3>
 
728
<pre class="programlisting"><span class="returnvalue">void</span>                example_animal_set_foo              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>,
 
729
                                                         <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
 
730
<p>
 
731
Sets the <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Foo" title='The "Foo" property'>"Foo"</a> D-Bus property to <em class="parameter"><code>value</code></em>.
 
732
</p>
 
733
<p>
 
734
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 
735
</p>
 
736
<div class="variablelist"><table border="0" class="variablelist">
 
737
<colgroup>
 
738
<col align="left" valign="top">
 
739
<col>
 
740
</colgroup>
 
741
<tbody>
 
742
<tr>
 
743
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
744
<td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>.</td>
 
745
</tr>
 
746
<tr>
 
747
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
 
748
<td>The value to set.</td>
 
749
</tr>
 
750
</tbody>
 
751
</table></div>
 
752
<p class="since">Since 2.30</p>
 
753
</div>
 
754
<hr>
 
755
<div class="refsect2">
 
756
<a name="example-animal-set-bar"></a><h3>example_animal_set_bar ()</h3>
 
757
<pre class="programlisting"><span class="returnvalue">void</span>                example_animal_set_bar              (<em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *object</code></em>,
 
758
                                                         <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
 
759
<p>
 
760
Sets the <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Bar" title='The "Bar" property'>"Bar"</a> D-Bus property to <em class="parameter"><code>value</code></em>.
 
761
</p>
 
762
<p>
 
763
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 
764
</p>
 
765
<div class="variablelist"><table border="0" class="variablelist">
 
766
<colgroup>
 
767
<col align="left" valign="top">
 
768
<col>
 
769
</colgroup>
 
770
<tbody>
 
771
<tr>
 
772
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
773
<td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>.</td>
 
774
</tr>
 
775
<tr>
 
776
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
 
777
<td>The value to set.</td>
 
778
</tr>
 
779
</tbody>
 
780
</table></div>
 
781
<p class="since">Since 2.36</p>
 
782
</div>
 
783
<hr>
 
784
<div class="refsect2">
577
785
<a name="ExampleAnimalProxy-struct"></a><h3>struct ExampleAnimalProxy</h3>
578
786
<pre class="programlisting">struct ExampleAnimalProxy;</pre>
579
787
<p>
688
896
</tr>
689
897
<tr>
690
898
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
691
 
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
 
899
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
692
900
</td>
693
901
</tr>
694
902
</tbody>
748
956
</tr>
749
957
<tr>
750
958
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
751
 
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
 
959
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
752
960
</td>
753
961
</tr>
754
962
</tbody>
840
1048
</tr>
841
1049
<tr>
842
1050
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
843
 
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
 
1051
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
844
1052
</td>
845
1053
</tr>
846
1054
</tbody>
900
1108
</tr>
901
1109
<tr>
902
1110
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
903
 
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
 
1111
<td>The constructed proxy object or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> ExampleAnimalProxy]</span>
904
1112
</td>
905
1113
</tr>
906
1114
</tbody>
952
1160
</colgroup>
953
1161
<tbody><tr>
954
1162
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
955
 
<td>The skeleton object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> ExampleAnimalSkeleton]</span>
 
1163
<td>The skeleton object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> ExampleAnimalSkeleton]</span>
956
1164
</td>
957
1165
</tr></tbody>
958
1166
</table></div>
962
1170
<div class="refsect1">
963
1171
<a name="ExampleAnimal.property-details"></a><h2>Property Details</h2>
964
1172
<div class="refsect2">
 
1173
<a name="ExampleAnimal--bar"></a><h3>The <code class="literal">"bar"</code> property</h3>
 
1174
<pre class="programlisting">  "bar"                      <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
1175
<p>
 
1176
Represents the D-Bus property <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Bar" title='The "Bar" property'>"Bar"</a>.
 
1177
</p>
 
1178
<p>
 
1179
Since the D-Bus property for this <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
 
1180
</p>
 
1181
<p>Default value: NULL</p>
 
1182
<p class="since">Since 2.36</p>
 
1183
</div>
 
1184
<hr>
 
1185
<div class="refsect2">
 
1186
<a name="ExampleAnimal--foo"></a><h3>The <code class="literal">"foo"</code> property</h3>
 
1187
<pre class="programlisting">  "foo"                      <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
1188
<p>
 
1189
Represents the D-Bus property <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Foo" title='The "Foo" property'>"Foo"</a>.
 
1190
</p>
 
1191
<p>
 
1192
Since the D-Bus property for this <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
 
1193
</p>
 
1194
<p>Default value: NULL</p>
 
1195
<p class="since">Since 2.30</p>
 
1196
</div>
 
1197
<hr>
 
1198
<div class="refsect2">
965
1199
<a name="ExampleAnimal--mood"></a><h3>The <code class="literal">"mood"</code> property</h3>
966
1200
<pre class="programlisting">  "mood"                     <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
967
1201
<p>
1062
1296
</div>
1063
1297
<div class="footer">
1064
1298
<hr>
1065
 
          Generated by GTK-Doc V1.18.1</div>
 
1299
          Generated by GTK-Doc V1.18</div>
1066
1300
</body>
1067
1301
</html>
 
 
b'\\ No newline at end of file'