~ubuntu-branches/ubuntu/raring/gnome-bluetooth/raring-proposed

« back to all changes in this revision

Viewing changes to docs/reference/libgnome-bluetooth/html/BluetoothClient.html

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-06-15 13:02:12 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20120615130212-uwb9s4x23r7w28a5
Tags: 3.4.1-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>BluetoothClient</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
 
7
<link rel="home" href="index.html" title="gnome-bluetooth Reference Manual">
 
8
<link rel="up" href="ch01.html" title="API Reference">
 
9
<link rel="prev" href="ch01.html" title="API Reference">
 
10
<link rel="next" href="BluetoothChooser.html" title="BluetoothChooser">
 
11
<meta name="generator" content="GTK-Doc V1.18.1 (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="ch01.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">gnome-bluetooth Reference Manual</th>
 
21
<td><a accesskey="n" href="BluetoothChooser.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="#BluetoothClient.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#BluetoothClient.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#BluetoothClient.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#BluetoothClient.properties" class="shortcut">Properties</a>
 
31
</td></tr>
 
32
</table>
 
33
<div class="refentry">
 
34
<a name="BluetoothClient"></a><div class="titlepage"></div>
 
35
<div class="refnamediv"><table width="100%"><tr>
 
36
<td valign="top">
 
37
<h2><span class="refentrytitle"><a name="BluetoothClient.top_of_page"></a>BluetoothClient</span></h2>
 
38
<p>BluetoothClient — Bluetooth client object</p>
 
39
</td>
 
40
<td valign="top" align="right"></td>
 
41
</tr></table></div>
 
42
<div class="refsect1">
 
43
<a name="BluetoothClient.stability-level"></a><h2>Stability Level</h2>
 
44
Stable, unless otherwise indicated
 
45
</div>
 
46
<div class="refsynopsisdiv">
 
47
<a name="BluetoothClient.synopsis"></a><h2>Synopsis</h2>
 
48
<pre class="synopsis">
 
49
#include &lt;bluetooth-client.h&gt;
 
50
 
 
51
struct              <a class="link" href="BluetoothClient.html#BluetoothClient-struct" title="struct BluetoothClient">BluetoothClient</a>;
 
52
struct              <a class="link" href="BluetoothClient.html#BluetoothClientClass" title="struct BluetoothClientClass">BluetoothClientClass</a>;
 
53
<span class="returnvalue">void</span>                <a class="link" href="BluetoothClient.html#bluetooth-client-connect-service" title="bluetooth_client_connect_service ()">bluetooth_client_connect_service</a>    (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
54
                                                         <em class="parameter"><code>const <span class="type">char</span> *device</code></em>,
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> connect</code></em>,
 
56
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
57
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
58
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
 
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="BluetoothClient.html#bluetooth-client-connect-service-finish" title="bluetooth_client_connect_service_finish ()">bluetooth_client_connect_service_finish</a>
 
60
                                                        (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
62
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
63
<a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="BluetoothClient.html#bluetooth-client-get-adapter-model" title="bluetooth_client_get_adapter_model ()">bluetooth_client_get_adapter_model</a>  (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);
 
64
<a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="BluetoothClient.html#bluetooth-client-get-device-model" title="bluetooth_client_get_device_model ()">bluetooth_client_get_device_model</a>   (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);
 
65
<a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="BluetoothClient.html#bluetooth-client-get-filter-model" title="bluetooth_client_get_filter_model ()">bluetooth_client_get_filter_model</a>   (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
66
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a> func</code></em>,
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
68
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
 
69
<a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="BluetoothClient.html#bluetooth-client-get-model" title="bluetooth_client_get_model ()">bluetooth_client_get_model</a>          (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);
 
70
<a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="returnvalue">BluetoothClient</span></a> *   <a class="link" href="BluetoothClient.html#bluetooth-client-new" title="bluetooth_client_new ()">bluetooth_client_new</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
 
71
</pre>
 
72
</div>
 
73
<div class="refsect1">
 
74
<a name="BluetoothClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
75
<pre class="synopsis">
 
76
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
77
   +----BluetoothClient
 
78
</pre>
 
79
</div>
 
80
<div class="refsect1">
 
81
<a name="BluetoothClient.properties"></a><h2>Properties</h2>
 
82
<pre class="synopsis">
 
83
  "<a class="link" href="BluetoothClient.html#BluetoothClient--default-adapter" title='The "default-adapter" property'>default-adapter</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read
 
84
  "<a class="link" href="BluetoothClient.html#BluetoothClient--default-adapter-discoverable" title='The "default-adapter-discoverable" property'>default-adapter-discoverable</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
85
  "<a class="link" href="BluetoothClient.html#BluetoothClient--default-adapter-discovering" title='The "default-adapter-discovering" property'>default-adapter-discovering</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
86
  "<a class="link" href="BluetoothClient.html#BluetoothClient--default-adapter-name" title='The "default-adapter-name" property'>default-adapter-name</a>"     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read
 
87
  "<a class="link" href="BluetoothClient.html#BluetoothClient--default-adapter-powered" title='The "default-adapter-powered" property'>default-adapter-powered</a>"  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read
 
88
</pre>
 
89
</div>
 
90
<div class="refsect1">
 
91
<a name="BluetoothClient.description"></a><h2>Description</h2>
 
92
<p>
 
93
The <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> object is used to query the state of Bluetooth
 
94
devices and adapters.
 
95
</p>
 
96
</div>
 
97
<div class="refsect1">
 
98
<a name="BluetoothClient.details"></a><h2>Details</h2>
 
99
<div class="refsect2">
 
100
<a name="BluetoothClient-struct"></a><h3>struct BluetoothClient</h3>
 
101
<pre class="programlisting">struct BluetoothClient;</pre>
 
102
<p>
 
103
</p>
 
104
</div>
 
105
<hr>
 
106
<div class="refsect2">
 
107
<a name="BluetoothClientClass"></a><h3>struct BluetoothClientClass</h3>
 
108
<pre class="programlisting">struct BluetoothClientClass {
 
109
        GObjectClass parent_class;
 
110
};
 
111
</pre>
 
112
<p>
 
113
</p>
 
114
</div>
 
115
<hr>
 
116
<div class="refsect2">
 
117
<a name="bluetooth-client-connect-service"></a><h3>bluetooth_client_connect_service ()</h3>
 
118
<pre class="programlisting"><span class="returnvalue">void</span>                bluetooth_client_connect_service    (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
119
                                                         <em class="parameter"><code>const <span class="type">char</span> *device</code></em>,
 
120
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> connect</code></em>,
 
121
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
122
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
123
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
124
<p>
 
125
When the connection operation is finished, <em class="parameter"><code>callback</code></em> will be called. You can
 
126
then call <a class="link" href="BluetoothClient.html#bluetooth-client-connect-service-finish" title="bluetooth_client_connect_service_finish ()"><code class="function">bluetooth_client_connect_service_finish()</code></a> to get the result of the
 
127
operation.
 
128
</p>
 
129
<div class="variablelist"><table border="0">
 
130
<col align="left" valign="top">
 
131
<tbody>
 
132
<tr>
 
133
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
134
<td>a <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a>
 
135
</td>
 
136
</tr>
 
137
<tr>
 
138
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
 
139
<td>the DBUS path on which to operate</td>
 
140
</tr>
 
141
<tr>
 
142
<td><p><span class="term"><em class="parameter"><code>connect</code></em> :</span></p></td>
 
143
<td>Whether try to connect or disconnect from services on a device</td>
 
144
</tr>
 
145
<tr>
 
146
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
147
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</td>
 
148
</tr>
 
149
<tr>
 
150
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
151
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the connection is complete. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
 
152
</td>
 
153
</tr>
 
154
<tr>
 
155
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
156
<td>the data to pass to callback function</td>
 
157
</tr>
 
158
</tbody>
 
159
</table></div>
 
160
</div>
 
161
<hr>
 
162
<div class="refsect2">
 
163
<a name="bluetooth-client-connect-service-finish"></a><h3>bluetooth_client_connect_service_finish ()</h3>
 
164
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            bluetooth_client_connect_service_finish
 
165
                                                        (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
166
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
167
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
168
<p>
 
169
Finishes the connection operation, See <a class="link" href="BluetoothClient.html#bluetooth-client-connect-service" title="bluetooth_client_connect_service ()"><code class="function">bluetooth_client_connect_service()</code></a>.
 
170
</p>
 
171
<div class="variablelist"><table border="0">
 
172
<col align="left" valign="top">
 
173
<tbody>
 
174
<tr>
 
175
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
176
<td>a <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a>
 
177
</td>
 
178
</tr>
 
179
<tr>
 
180
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
 
181
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
 
182
</td>
 
183
</tr>
 
184
<tr>
 
185
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
186
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
 
187
</td>
 
188
</tr>
 
189
<tr>
 
190
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
191
<td>
 
192
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the connection operation succeeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
 
193
</tr>
 
194
</tbody>
 
195
</table></div>
 
196
</div>
 
197
<hr>
 
198
<div class="refsect2">
 
199
<a name="bluetooth-client-get-adapter-model"></a><h3>bluetooth_client_get_adapter_model ()</h3>
 
200
<pre class="programlisting"><a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_adapter_model  (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);</pre>
 
201
<p>
 
202
Returns a <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html"><span class="type">GtkTreeModelFilter</span></a> with only adapters present.
 
203
</p>
 
204
<div class="variablelist"><table border="0">
 
205
<col align="left" valign="top">
 
206
<tbody>
 
207
<tr>
 
208
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
209
<td>a <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
210
</tr>
 
211
<tr>
 
212
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
213
<td>a <a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
214
</td>
 
215
</tr>
 
216
</tbody>
 
217
</table></div>
 
218
</div>
 
219
<hr>
 
220
<div class="refsect2">
 
221
<a name="bluetooth-client-get-device-model"></a><h3>bluetooth_client_get_device_model ()</h3>
 
222
<pre class="programlisting"><a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_device_model   (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);</pre>
 
223
<p>
 
224
Returns a <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html"><span class="type">GtkTreeModelFilter</span></a> with only devices belonging to the default adapter listed.
 
225
Note that the model will follow a specific adapter, and will not follow the default adapter.
 
226
Also note that due to the way <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html"><span class="type">GtkTreeModelFilter</span></a> works, you will probably want to
 
227
monitor signals on the "child-model" <a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> to monitor for changes.
 
228
</p>
 
229
<div class="variablelist"><table border="0">
 
230
<col align="left" valign="top">
 
231
<tbody>
 
232
<tr>
 
233
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
234
<td>a <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
235
</tr>
 
236
<tr>
 
237
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
238
<td>a <a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
239
</td>
 
240
</tr>
 
241
</tbody>
 
242
</table></div>
 
243
</div>
 
244
<hr>
 
245
<div class="refsect2">
 
246
<a name="bluetooth-client-get-filter-model"></a><h3>bluetooth_client_get_filter_model ()</h3>
 
247
<pre class="programlisting"><a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_filter_model   (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>,
 
248
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a> func</code></em>,
 
249
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
250
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
 
251
<p>
 
252
Returns a <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html"><span class="type">GtkTreeModelFilter</span></a> of devices filtered using the <em class="parameter"><code>func</code></em>, <em class="parameter"><code>data</code></em> and <em class="parameter"><code>destroy</code></em> arguments to pass to <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>.
 
253
</p>
 
254
<div class="variablelist"><table border="0">
 
255
<col align="left" valign="top">
 
256
<tbody>
 
257
<tr>
 
258
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
259
<td>a <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
260
</tr>
 
261
<tr>
 
262
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
 
263
<td>a <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html#GtkTreeModelFilterVisibleFunc"><span class="type">GtkTreeModelFilterVisibleFunc</span></a>
 
264
</td>
 
265
</tr>
 
266
<tr>
 
267
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
 
268
<td>user data to pass to <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>
 
269
</td>
 
270
</tr>
 
271
<tr>
 
272
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
273
<td>a destroy function for <a href="http://developer.gnome.org/gtk/GtkTreeModelFilter.html#gtk-tree-model-filter-set-visible-func"><code class="function">gtk_tree_model_filter_set_visible_func()</code></a>
 
274
</td>
 
275
</tr>
 
276
<tr>
 
277
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
278
<td>a <a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
279
</td>
 
280
</tr>
 
281
</tbody>
 
282
</table></div>
 
283
</div>
 
284
<hr>
 
285
<div class="refsect2">
 
286
<a name="bluetooth-client-get-model"></a><h3>bluetooth_client_get_model ()</h3>
 
287
<pre class="programlisting"><a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="returnvalue">GtkTreeModel</span></a> *      bluetooth_client_get_model          (<em class="parameter"><code><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> *client</code></em>);</pre>
 
288
<p>
 
289
Returns an unfiltered <a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> representing the adapter and devices available on the system.
 
290
</p>
 
291
<div class="variablelist"><table border="0">
 
292
<col align="left" valign="top">
 
293
<tbody>
 
294
<tr>
 
295
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
 
296
<td>a <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> object</td>
 
297
</tr>
 
298
<tr>
 
299
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
300
<td>a <a href="http://developer.gnome.org/gtk/GtkTreeModel.html"><span class="type">GtkTreeModel</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
301
</td>
 
302
</tr>
 
303
</tbody>
 
304
</table></div>
 
305
</div>
 
306
<hr>
 
307
<div class="refsect2">
 
308
<a name="bluetooth-client-new"></a><h3>bluetooth_client_new ()</h3>
 
309
<pre class="programlisting"><a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="returnvalue">BluetoothClient</span></a> *   bluetooth_client_new                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
310
<p>
 
311
Returns a reference to the <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> singleton. Use <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> when done with the object.
 
312
</p>
 
313
<div class="variablelist"><table border="0">
 
314
<col align="left" valign="top">
 
315
<tbody><tr>
 
316
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
317
<td>a <a class="link" href="BluetoothClient.html" title="BluetoothClient"><span class="type">BluetoothClient</span></a> object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
318
</td>
 
319
</tr></tbody>
 
320
</table></div>
 
321
</div>
 
322
</div>
 
323
<div class="refsect1">
 
324
<a name="BluetoothClient.property-details"></a><h2>Property Details</h2>
 
325
<div class="refsect2">
 
326
<a name="BluetoothClient--default-adapter"></a><h3>The <code class="literal">"default-adapter"</code> property</h3>
 
327
<pre class="programlisting">  "default-adapter"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read</pre>
 
328
<p></p>
 
329
<p>Default value: NULL</p>
 
330
</div>
 
331
<hr>
 
332
<div class="refsect2">
 
333
<a name="BluetoothClient--default-adapter-discoverable"></a><h3>The <code class="literal">"default-adapter-discoverable"</code> property</h3>
 
334
<pre class="programlisting">  "default-adapter-discoverable" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
335
<p></p>
 
336
<p>Default value: FALSE</p>
 
337
</div>
 
338
<hr>
 
339
<div class="refsect2">
 
340
<a name="BluetoothClient--default-adapter-discovering"></a><h3>The <code class="literal">"default-adapter-discovering"</code> property</h3>
 
341
<pre class="programlisting">  "default-adapter-discovering" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
342
<p></p>
 
343
<p>Default value: FALSE</p>
 
344
</div>
 
345
<hr>
 
346
<div class="refsect2">
 
347
<a name="BluetoothClient--default-adapter-name"></a><h3>The <code class="literal">"default-adapter-name"</code> property</h3>
 
348
<pre class="programlisting">  "default-adapter-name"     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read</pre>
 
349
<p></p>
 
350
<p>Default value: NULL</p>
 
351
</div>
 
352
<hr>
 
353
<div class="refsect2">
 
354
<a name="BluetoothClient--default-adapter-powered"></a><h3>The <code class="literal">"default-adapter-powered"</code> property</h3>
 
355
<pre class="programlisting">  "default-adapter-powered"  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read</pre>
 
356
<p></p>
 
357
<p>Default value: FALSE</p>
 
358
</div>
 
359
</div>
 
360
</div>
 
361
<div class="footer">
 
362
<hr>
 
363
          Generated by GTK-Doc V1.18.1</div>
 
364
</body>
 
365
</html>
 
 
b'\\ No newline at end of file'