62e79b65d0e7fc31475420e1462cdf12c42e1835
[profile/ivi/glib2.git] / docs / reference / gio / html / gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>org.gtk.GDBus.Example.ObjectManager.Animal</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GIO Reference Manual">
8 <link rel="up" href="ch31s05.html" title="Generating code and docs">
9 <link rel="prev" href="ch31s05.html" title="Generating code and docs">
10 <link rel="next" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html" title="org.gtk.GDBus.Example.ObjectManager.Cat">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
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">
16 <tr valign="middle">
17 <td><a accesskey="p" href="ch31s05.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch31s05.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">GIO Reference Manual</th>
21 <td><a accesskey="n" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.properties" class="shortcut">Properties</a>
29                    | 
30                   <a href="#gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.signals" class="shortcut">Signals</a>
31 </td></tr>
32 </table>
33 <div class="refentry">
34 <a name="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
36 <td valign="top">
37 <h2><span class="refentrytitle"><a name="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal.top_of_page"></a>org.gtk.GDBus.Example.ObjectManager.Animal</span></h2>
38 <p>org.gtk.GDBus.Example.ObjectManager.Animal — Example docs generated by gdbus-codegen</p>
39 </td>
40 <td valign="top" align="right"></td>
41 </tr></table></div>
42 <div class="refsynopsisdiv">
43 <h2>Methods</h2>
44 <pre class="synopsis">
45 <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-method-org-gtk-GDBus-Example-ObjectManager-Animal.Poke" title="The Poke() method">Poke</a> (IN  b make_sad,
46       IN  b make_happy);
47 </pre>
48 </div>
49 <div class="refsect1">
50 <a name="idp77936576"></a><h2>Signals</h2>
51 <pre class="synopsis">
52 <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-signal-org-gtk-GDBus-Example-ObjectManager-Animal.Jumped" title='The "Jumped" signal'>Jumped</a> (d height);
53 </pre>
54 </div>
55 <div class="refsect1">
56 <a name="idp74787936"></a><h2>Properties</h2>
57 <pre class="synopsis">
58 <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Mood" title='The "Mood" property'>Mood</a>  readable   s
59 </pre>
60 </div>
61 <div class="refsect1">
62 <a name="gdbus-interface-org-gtk-GDBus-Example-ObjectManager-Animal"></a><h2>Description</h2>
63 <p>       This D-Bus interface is used to describe a simple animal.
64 </p>
65 <p class="since">Since 2.30</p>
66 </div>
67 <div class="refsect1">
68 <a name="gdbus-methods-org.gtk.GDBus.Example.ObjectManager.Animal"></a><h2>Method Details</h2>
69 <div class="refsect2">
70 <a name="gdbus-method-org-gtk-GDBus-Example-ObjectManager-Animal.Poke"></a><h3>The Poke() method</h3>
71 <pre class="programlisting">
72 Poke (IN  b make_sad,
73       IN  b make_happy);
74 </pre>
75 <p>        Method used to changing the mood of the animal. See also the
76         <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Mood" title='The "Mood" property'>"Mood"</a> property.
77 </p>
78 <div class="variablelist"><table border="0">
79 <col align="left" valign="top">
80 <tbody>
81 <tr>
82 <td><p><span class="term"><code class="literal">IN b <em class="parameter"><code>make_sad</code></em></code>:</span></p></td>
83 <td><p>Whether to make the animal sad.</p></td>
84 </tr>
85 <tr>
86 <td><p><span class="term"><code class="literal">IN b <em class="parameter"><code>make_happy</code></em></code>:</span></p></td>
87 <td><p>Whether to make the animal happy.</p></td>
88 </tr>
89 </tbody>
90 </table></div>
91 <p class="since">Since 2.30</p>
92 </div>
93 </div>
94 <div class="refsect1">
95 <a name="gdbus-signals-org.gtk.GDBus.Example.ObjectManager.Animal"></a><h2>Signal Details</h2>
96 <div class="refsect2">
97 <a name="gdbus-signal-org-gtk-GDBus-Example-ObjectManager-Animal.Jumped"></a><h3>The "Jumped" signal</h3>
98 <pre class="programlisting">
99 Jumped (d height);
100 </pre>
101 <p>        Emitted when the animal decides to jump.
102 </p>
103 <div class="variablelist"><table border="0">
104 <col align="left" valign="top">
105 <tbody><tr>
106 <td><p><span class="term"><code class="literal">d <em class="parameter"><code>height</code></em></code>:</span></p></td>
107 <td><p>Height, in meters, that the animal jumped.</p></td>
108 </tr></tbody>
109 </table></div>
110 <p class="since">Since 2.30</p>
111 </div>
112 </div>
113 <div class="refsect1">
114 <a name="gdbus-properties-org.gtk.GDBus.Example.ObjectManager.Animal"></a><h2>Property Details</h2>
115 <div class="refsect2">
116 <a name="gdbus-property-org-gtk-GDBus-Example-ObjectManager-Animal.Mood"></a><h3>The "Mood" property</h3>
117 <pre class="programlisting">
118 Mood  readable   s
119 </pre>
120 <p>The mood of the animal.</p>
121 <p>         Known values for this property include
122          <code class="literal">Happy</code> and <code class="literal">Sad</code>. Use the
123          <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-method-org-gtk-GDBus-Example-ObjectManager-Animal.Poke" title="The Poke() method">Poke()</a> method to
124          change this property.
125 </p>
126 <p>         This property influences how often the animal jumps up and
127          down, see the
128          <a class="link" href="gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html#gdbus-signal-org-gtk-GDBus-Example-ObjectManager-Animal.Jumped" title='The "Jumped" signal'>"Jumped"</a> signal
129          for more details.
130 </p>
131 <p class="since">Since 2.30</p>
132 </div>
133 </div>
134 </div>
135 <div class="footer">
136 <hr>
137           Generated by GTK-Doc V1.18</div>
138 </body>
139 </html>