1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>ExampleObject</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="">
8 <link rel="up" href="ch01.html" title="bar">
9 <link rel="prev" href="ExampleCat.html" title="ExampleCat">
10 <link rel="next" href="ExampleObjectManagerClient.html" title="ExampleObjectManagerClient">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="ExampleCat.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center"></th>
21 <td><a accesskey="n" href="ExampleObjectManagerClient.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#ExampleObject.synopsis" class="shortcut">Top</a>
26 <a href="#ExampleObject.description" class="shortcut">Description</a>
28 <a href="#ExampleObject.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#ExampleObject.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32 <a href="#ExampleObject.prerequisites" class="shortcut">Prerequisites</a>
34 <a href="#ExampleObject.implementations" class="shortcut">Known Implementations</a>
36 <a href="#ExampleObject.properties" class="shortcut">Properties</a>
39 <div class="refentry">
40 <a name="ExampleObject"></a><div class="titlepage"></div>
41 <div class="refnamediv"><table width="100%"><tr>
43 <h2><span class="refentrytitle"><a name="ExampleObject.top_of_page"></a>ExampleObject</span></h2>
44 <p>ExampleObject — Specialized GDBusObject types</p>
46 <td valign="top" align="right"></td>
48 <div class="refsynopsisdiv">
49 <a name="ExampleObject.synopsis"></a><h2>Synopsis</h2>
50 <a name="ExampleObjectProxy"></a><a name="ExampleObjectSkeleton"></a><pre class="synopsis"> <a class="link" href="ExampleObject.html#ExampleObject-struct" title="ExampleObject">ExampleObject</a>;
51 struct <a class="link" href="ExampleObject.html#ExampleObjectIface" title="struct ExampleObjectIface">ExampleObjectIface</a>;
52 <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="returnvalue">ExampleAnimal</span></a> * <a class="link" href="ExampleObject.html#example-object-get-animal" title="example_object_get_animal ()">example_object_get_animal</a> (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);
53 <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="returnvalue">ExampleCat</span></a> * <a class="link" href="ExampleObject.html#example-object-get-cat" title="example_object_get_cat ()">example_object_get_cat</a> (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);
54 <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="returnvalue">ExampleAnimal</span></a> * <a class="link" href="ExampleObject.html#example-object-peek-animal" title="example_object_peek_animal ()">example_object_peek_animal</a> (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);
55 <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="returnvalue">ExampleCat</span></a> * <a class="link" href="ExampleObject.html#example-object-peek-cat" title="example_object_peek_cat ()">example_object_peek_cat</a> (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);
56 struct <a class="link" href="ExampleObject.html#ExampleObjectProxy-struct" title="struct ExampleObjectProxy">ExampleObjectProxy</a>;
57 struct <a class="link" href="ExampleObject.html#ExampleObjectProxyClass" title="struct ExampleObjectProxyClass">ExampleObjectProxyClass</a>;
58 <a class="link" href="ExampleObject.html#ExampleObjectProxy"><span class="returnvalue">ExampleObjectProxy</span></a> * <a class="link" href="ExampleObject.html#example-object-proxy-new" title="example_object_proxy_new ()">example_object_proxy_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
59 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);
60 struct <a class="link" href="ExampleObject.html#ExampleObjectSkeleton-struct" title="struct ExampleObjectSkeleton">ExampleObjectSkeleton</a>;
61 struct <a class="link" href="ExampleObject.html#ExampleObjectSkeletonClass" title="struct ExampleObjectSkeletonClass">ExampleObjectSkeletonClass</a>;
62 <a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="returnvalue">ExampleObjectSkeleton</span></a> * <a class="link" href="ExampleObject.html#example-object-skeleton-new" title="example_object_skeleton_new ()">example_object_skeleton_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);
63 <span class="returnvalue">void</span> <a class="link" href="ExampleObject.html#example-object-skeleton-set-animal" title="example_object_skeleton_set_animal ()">example_object_skeleton_set_animal</a> (<em class="parameter"><code><a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a> *object</code></em>,
64 <em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *interface_</code></em>);
65 <span class="returnvalue">void</span> <a class="link" href="ExampleObject.html#example-object-skeleton-set-cat" title="example_object_skeleton_set_cat ()">example_object_skeleton_set_cat</a> (<em class="parameter"><code><a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a> *object</code></em>,
66 <em class="parameter"><code><a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> *interface_</code></em>);
69 <div class="refsect1">
70 <a name="ExampleObject.object-hierarchy"></a><h2>Object Hierarchy</h2>
71 <pre class="synopsis">
75 <pre class="synopsis">
76 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
77 +----<a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectProxy.html">GDBusObjectProxy</a>
78 +----ExampleObjectProxy
80 <pre class="synopsis">
81 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
82 +----<a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectSkeleton.html">GDBusObjectSkeleton</a>
83 +----ExampleObjectSkeleton
86 <div class="refsect1">
87 <a name="ExampleObject.prerequisites"></a><h2>Prerequisites</h2>
89 ExampleObject requires
90 <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html">GDBusObject</a> and <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
92 <div class="refsect1">
93 <a name="ExampleObject.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
95 ExampleObjectProxy implements
96 <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html">GDBusObject</a> and <a class="link" href="ExampleObject.html" title="ExampleObject">ExampleObject</a>.</p>
98 ExampleObjectSkeleton implements
99 <a href="http://library.gnome.org/devel/gio/unstable/GDBusObject.html">GDBusObject</a> and <a class="link" href="ExampleObject.html" title="ExampleObject">ExampleObject</a>.</p>
101 <div class="refsect1">
102 <a name="ExampleObject.implementations"></a><h2>Known Implementations</h2>
104 ExampleObject is implemented by
105 <a class="link" href="ExampleObject.html#ExampleObjectProxy">ExampleObjectProxy</a> and <a class="link" href="ExampleObject.html#ExampleObjectSkeleton">ExampleObjectSkeleton</a>.</p>
107 <div class="refsect1">
108 <a name="ExampleObject.properties"></a><h2>Properties</h2>
109 <pre class="synopsis">
110 "<a class="link" href="ExampleObject.html#ExampleObject--animal" title='The "animal" property'>animal</a>" <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>* : Read / Write
111 "<a class="link" href="ExampleObject.html#ExampleObject--cat" title='The "cat" property'>cat</a>" <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a>* : Read / Write
114 <div class="refsect1">
115 <a name="ExampleObject.description"></a><h2>Description</h2>
117 This section contains the <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a>, <a class="link" href="ExampleObject.html#ExampleObjectProxy"><span class="type">ExampleObjectProxy</span></a>, and <a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a> types which make it easier to work with objects implementing generated types for D-Bus interfaces.
120 <div class="refsect1">
121 <a name="ExampleObject.details"></a><h2>Details</h2>
122 <div class="refsect2">
123 <a name="ExampleObject-struct"></a><h3>ExampleObject</h3>
124 <pre class="programlisting">typedef struct _ExampleObject ExampleObject;</pre>
126 The <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> type is a specialized container of interfaces.
130 <div class="refsect2">
131 <a name="ExampleObjectIface"></a><h3>struct ExampleObjectIface</h3>
132 <pre class="programlisting">struct ExampleObjectIface {
133 GTypeInterface parent_iface;
137 Virtual table for the <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> interface.
139 <div class="variablelist"><table border="0">
140 <col align="left" valign="top">
142 <td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="ExampleObjectIface.parent-iface"></a>parent_iface</code></em>;</span></p></td>
143 <td>The parent interface.</td>
148 <div class="refsect2">
149 <a name="example-object-get-animal"></a><h3>example_object_get_animal ()</h3>
150 <pre class="programlisting"><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="returnvalue">ExampleAnimal</span></a> * example_object_get_animal (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);</pre>
152 Gets the <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> instance for the D-Bus interface org.gtk.GDBus.Example.ObjectManager.Animal on <em class="parameter"><code>object</code></em>, if any.
154 <div class="variablelist"><table border="0">
155 <col align="left" valign="top">
158 <td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
159 <td>A <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a>.</td>
162 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
163 <td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> that must be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>object</code></em> does not implement the interface. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
168 <p class="since">Since 2.30</p>
171 <div class="refsect2">
172 <a name="example-object-get-cat"></a><h3>example_object_get_cat ()</h3>
173 <pre class="programlisting"><a class="link" href="ExampleCat.html" title="ExampleCat"><span class="returnvalue">ExampleCat</span></a> * example_object_get_cat (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);</pre>
175 Gets the <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> instance for the D-Bus interface org.gtk.GDBus.Example.ObjectManager.Cat on <em class="parameter"><code>object</code></em>, if any.
177 <div class="variablelist"><table border="0">
178 <col align="left" valign="top">
181 <td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
182 <td>A <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a>.</td>
185 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
186 <td>A <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> that must be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>object</code></em> does not implement the interface. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
193 <div class="refsect2">
194 <a name="example-object-peek-animal"></a><h3>example_object_peek_animal ()</h3>
195 <pre class="programlisting"><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="returnvalue">ExampleAnimal</span></a> * example_object_peek_animal (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);</pre>
197 Like <a class="link" href="ExampleObject.html#example-object-get-animal" title="example_object_get_animal ()"><code class="function">example_object_get_animal()</code></a> but doesn't increase the reference count on the returned object.
201 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
202 <h3 class="title">Warning</h3>It is not safe to use the returned object if you are on another thread than the one where the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html"><span class="type">GDBusObjectManagerClient</span></a> or <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerServer.html"><span class="type">GDBusObjectManagerServer</span></a> for <em class="parameter"><code>object</code></em> is running.</div>
205 <div class="variablelist"><table border="0">
206 <col align="left" valign="top">
209 <td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
210 <td>A <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a>.</td>
213 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
214 <td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>object</code></em> does not implement the interface. Do not free the returned object, it is owned by <em class="parameter"><code>object</code></em>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
219 <p class="since">Since 2.30</p>
222 <div class="refsect2">
223 <a name="example-object-peek-cat"></a><h3>example_object_peek_cat ()</h3>
224 <pre class="programlisting"><a class="link" href="ExampleCat.html" title="ExampleCat"><span class="returnvalue">ExampleCat</span></a> * example_object_peek_cat (<em class="parameter"><code><a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a> *object</code></em>);</pre>
226 Like <a class="link" href="ExampleObject.html#example-object-get-cat" title="example_object_get_cat ()"><code class="function">example_object_get_cat()</code></a> but doesn't increase the reference count on the returned object.
230 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
231 <h3 class="title">Warning</h3>It is not safe to use the returned object if you are on another thread than the one where the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html"><span class="type">GDBusObjectManagerClient</span></a> or <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerServer.html"><span class="type">GDBusObjectManagerServer</span></a> for <em class="parameter"><code>object</code></em> is running.</div>
234 <div class="variablelist"><table border="0">
235 <col align="left" valign="top">
238 <td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
239 <td>A <a class="link" href="ExampleObject.html" title="ExampleObject"><span class="type">ExampleObject</span></a>.</td>
242 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
243 <td>A <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>object</code></em> does not implement the interface. Do not free the returned object, it is owned by <em class="parameter"><code>object</code></em>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
250 <div class="refsect2">
251 <a name="ExampleObjectProxy-struct"></a><h3>struct ExampleObjectProxy</h3>
252 <pre class="programlisting">struct ExampleObjectProxy;</pre>
254 The <a class="link" href="ExampleObject.html#ExampleObjectProxy"><span class="type">ExampleObjectProxy</span></a> structure contains only private data and should only be accessed using the provided API.
258 <div class="refsect2">
259 <a name="ExampleObjectProxyClass"></a><h3>struct ExampleObjectProxyClass</h3>
260 <pre class="programlisting">struct ExampleObjectProxyClass {
261 GDBusObjectProxyClass parent_class;
265 Class structure for <a class="link" href="ExampleObject.html#ExampleObjectProxy"><span class="type">ExampleObjectProxy</span></a>.
267 <div class="variablelist"><table border="0">
268 <col align="left" valign="top">
270 <td><p><span class="term"><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectProxy.html#GDBusObjectProxyClass"><span class="type">GDBusObjectProxyClass</span></a> <em class="structfield"><code><a name="ExampleObjectProxyClass.parent-class"></a>parent_class</code></em>;</span></p></td>
271 <td>The parent class.</td>
276 <div class="refsect2">
277 <a name="example-object-proxy-new"></a><h3>example_object_proxy_new ()</h3>
278 <pre class="programlisting"><a class="link" href="ExampleObject.html#ExampleObjectProxy"><span class="returnvalue">ExampleObjectProxy</span></a> * example_object_proxy_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
279 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
281 Creates a new proxy object.
283 <div class="variablelist"><table border="0">
284 <col align="left" valign="top">
287 <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
288 <td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td>
291 <td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
292 <td>An object path.</td>
295 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
296 <td>The proxy object. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
303 <div class="refsect2">
304 <a name="ExampleObjectSkeleton-struct"></a><h3>struct ExampleObjectSkeleton</h3>
305 <pre class="programlisting">struct ExampleObjectSkeleton;</pre>
307 The <a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.
311 <div class="refsect2">
312 <a name="ExampleObjectSkeletonClass"></a><h3>struct ExampleObjectSkeletonClass</h3>
313 <pre class="programlisting">struct ExampleObjectSkeletonClass {
314 GDBusObjectSkeletonClass parent_class;
318 Class structure for <a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a>.
320 <div class="variablelist"><table border="0">
321 <col align="left" valign="top">
323 <td><p><span class="term"><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectSkeleton.html#GDBusObjectSkeletonClass"><span class="type">GDBusObjectSkeletonClass</span></a> <em class="structfield"><code><a name="ExampleObjectSkeletonClass.parent-class"></a>parent_class</code></em>;</span></p></td>
324 <td>The parent class.</td>
329 <div class="refsect2">
330 <a name="example-object-skeleton-new"></a><h3>example_object_skeleton_new ()</h3>
331 <pre class="programlisting"><a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="returnvalue">ExampleObjectSkeleton</span></a> * example_object_skeleton_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
333 Creates a new skeleton object.
335 <div class="variablelist"><table border="0">
336 <col align="left" valign="top">
339 <td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
340 <td>An object path.</td>
343 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
344 <td>The skeleton object. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
351 <div class="refsect2">
352 <a name="example-object-skeleton-set-animal"></a><h3>example_object_skeleton_set_animal ()</h3>
353 <pre class="programlisting"><span class="returnvalue">void</span> example_object_skeleton_set_animal (<em class="parameter"><code><a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a> *object</code></em>,
354 <em class="parameter"><code><a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> *interface_</code></em>);</pre>
356 Sets the <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> instance for the D-Bus interface org.gtk.GDBus.Example.ObjectManager.Animal on <em class="parameter"><code>object</code></em>.
358 <div class="variablelist"><table border="0">
359 <col align="left" valign="top">
362 <td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
363 <td>A <a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a>.</td>
366 <td><p><span class="term"><em class="parameter"><code>interface_</code></em> :</span></p></td>
367 <td>A <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to clear the interface. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
372 <p class="since">Since 2.30</p>
375 <div class="refsect2">
376 <a name="example-object-skeleton-set-cat"></a><h3>example_object_skeleton_set_cat ()</h3>
377 <pre class="programlisting"><span class="returnvalue">void</span> example_object_skeleton_set_cat (<em class="parameter"><code><a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a> *object</code></em>,
378 <em class="parameter"><code><a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> *interface_</code></em>);</pre>
380 Sets the <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> instance for the D-Bus interface org.gtk.GDBus.Example.ObjectManager.Cat on <em class="parameter"><code>object</code></em>.
382 <div class="variablelist"><table border="0">
383 <col align="left" valign="top">
386 <td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
387 <td>A <a class="link" href="ExampleObject.html#ExampleObjectSkeleton"><span class="type">ExampleObjectSkeleton</span></a>.</td>
390 <td><p><span class="term"><em class="parameter"><code>interface_</code></em> :</span></p></td>
391 <td>A <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to clear the interface. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
398 <div class="refsect1">
399 <a name="ExampleObject.property-details"></a><h2>Property Details</h2>
400 <div class="refsect2">
401 <a name="ExampleObject--animal"></a><h3>The <code class="literal">"animal"</code> property</h3>
402 <pre class="programlisting"> "animal" <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a>* : Read / Write</pre>
404 The <a class="link" href="ExampleAnimal.html" title="ExampleAnimal"><span class="type">ExampleAnimal</span></a> instance corresponding to the D-Bus interface org.gtk.GDBus.Example.ObjectManager.Animal, if any.
407 Connect to the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-notify"><span class="type">"notify"</span></a> signal to get informed of property changes.
409 <p class="since">Since 2.30</p>
412 <div class="refsect2">
413 <a name="ExampleObject--cat"></a><h3>The <code class="literal">"cat"</code> property</h3>
414 <pre class="programlisting"> "cat" <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a>* : Read / Write</pre>
416 The <a class="link" href="ExampleCat.html" title="ExampleCat"><span class="type">ExampleCat</span></a> instance corresponding to the D-Bus interface org.gtk.GDBus.Example.ObjectManager.Cat, if any.
419 Connect to the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-notify"><span class="type">"notify"</span></a> signal to get informed of property changes.
426 Generated by GTK-Doc V1.18</div>