~timchen119/ubuntu/trusty/gnome-bluetooth/lp1035431

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2011-02-27 15:45:22 UTC
  • mfrom: (1.3.2 upstream)
  • mto: (2.2.3 experimental) (1.5.1)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20110227154522-dnnoqasv5v3mv42a
Tags: upstream-2.91.5
Import upstream version 2.91.5

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>BluetoothChooser</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
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="gnome-bluetooth-BluetoothClient.html" title="BluetoothClient">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
 
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="chapter" href="ch01.html" title="API Reference">
14
 
<link rel="chapter" href="object-tree.html" title="Object Hierarchy">
15
 
<link rel="index" href="api-index-full.html" title="API Index">
16
 
</head>
17
 
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
18
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
19
 
<tr valign="middle">
20
 
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
21
 
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
22
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
23
 
<th width="100%" align="center">gnome-bluetooth Reference Manual</th>
24
 
<td><a accesskey="n" href="gnome-bluetooth-BluetoothClient.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
25
 
</tr>
26
 
<tr><td colspan="5" class="shortcuts">
27
 
<a href="#BluetoothChooser.synopsis" class="shortcut">Top</a>
28
 
                 | 
29
 
                <a href="#BluetoothChooser.description" class="shortcut">Description</a>
30
 
                 | 
31
 
                <a href="#BluetoothChooser.object-hierarchy" class="shortcut">Object Hierarchy</a>
32
 
                 | 
33
 
                <a href="#BluetoothChooser.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
34
 
                 | 
35
 
                <a href="#BluetoothChooser.properties" class="shortcut">Properties</a>
36
 
                 | 
37
 
                <a href="#BluetoothChooser.signals" class="shortcut">Signals</a>
38
 
</td></tr>
39
 
</table>
40
 
<div class="refentry" title="BluetoothChooser">
41
 
<a name="BluetoothChooser"></a><div class="titlepage"></div>
42
 
<div class="refnamediv"><table width="100%"><tr>
43
 
<td valign="top">
44
 
<h2><span class="refentrytitle"><a name="BluetoothChooser.top_of_page"></a>BluetoothChooser</span></h2>
45
 
<p>BluetoothChooser</p>
46
 
</td>
47
 
<td valign="top" align="right"></td>
48
 
</tr></table></div>
49
 
<div class="refsynopsisdiv" title="Synopsis">
50
 
<a name="BluetoothChooser.synopsis"></a><h2>Synopsis</h2>
51
 
<pre class="synopsis">
52
 
#define             <a
53
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BLUETOOTH-GET-CHOOSER-CLASS--CAPS"
54
 
>BLUETOOTH_GET_CHOOSER_CLASS</a>         (obj)
55
 
                    <a
56
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser-struct"
57
 
>BluetoothChooser</a>;
58
 
<a
59
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
60
 
>GtkWidget</a> *         <a
61
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-new"
62
 
>bluetooth_chooser_new</a>               (const char *title);
63
 
void                <a
64
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-set-title"
65
 
>bluetooth_chooser_set_title</a>         (<a
66
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
67
 
>BluetoothChooser</a> *self,
68
 
                                                         const char *title);
69
 
char *              <a
70
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-get-selected-device"
71
 
>bluetooth_chooser_get_selected_device</a>
72
 
                                                        (<a
73
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
74
 
>BluetoothChooser</a> *self);
75
 
<a
76
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
77
 
>gboolean</a>            <a
78
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-get-selected-device-info"
79
 
>bluetooth_chooser_get_selected_device_info</a>
80
 
                                                        (<a
81
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
82
 
>BluetoothChooser</a> *self,
83
 
                                                         const char *field,
84
 
                                                         <a
85
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
86
 
>GValue</a> *value);
87
 
char *              <a
88
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-get-selected-device-name"
89
 
>bluetooth_chooser_get_selected_device_name</a>
90
 
                                                        (<a
91
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
92
 
>BluetoothChooser</a> *self);
93
 
char *              <a
94
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-get-selected-device-icon"
95
 
>bluetooth_chooser_get_selected_device_icon</a>
96
 
                                                        (<a
97
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
98
 
>BluetoothChooser</a> *self);
99
 
<a
100
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-bluetooth-enums.html#BluetoothType"
101
 
>BluetoothType</a>       <a
102
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-get-selected-device-type"
103
 
>bluetooth_chooser_get_selected_device_type</a>
104
 
                                                        (<a
105
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
106
 
>BluetoothChooser</a> *self);
107
 
<a
108
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
109
 
>gboolean</a>            <a
110
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-get-selected-device-is-connected"
111
 
>bluetooth_chooser_get_selected_device_is_connected</a>
112
 
                                                        (<a
113
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
114
 
>BluetoothChooser</a> *self);
115
 
void                <a
116
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-start-discovery"
117
 
>bluetooth_chooser_start_discovery</a>   (<a
118
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
119
 
>BluetoothChooser</a> *self);
120
 
void                <a
121
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-stop-discovery"
122
 
>bluetooth_chooser_stop_discovery</a>    (<a
123
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
124
 
>BluetoothChooser</a> *self);
125
 
</pre>
126
 
</div>
127
 
<div class="refsect1" title="Object Hierarchy">
128
 
<a name="BluetoothChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
129
 
<pre class="synopsis">
130
 
  <a
131
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
132
 
>GObject</a>
133
 
   +----<a
134
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
135
 
>GInitiallyUnowned</a>
136
 
         +----<a
137
 
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
138
 
>GtkObject</a>
139
 
               +----<a
140
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
141
 
>GtkWidget</a>
142
 
                     +----<a
143
 
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
144
 
>GtkContainer</a>
145
 
                           +----<a
146
 
href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html"
147
 
>GtkBox</a>
148
 
                                 +----<a
149
 
href="http://library.gnome.org/devel/gtk/unstable/GtkVBox.html"
150
 
>GtkVBox</a>
151
 
                                       +----BluetoothChooser
152
 
</pre>
153
 
</div>
154
 
<div class="refsect1" title="Implemented Interfaces">
155
 
<a name="BluetoothChooser.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
156
 
<p>
157
 
BluetoothChooser implements
158
 
 <a
159
 
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
160
 
>GtkBuildable</a>,  AtkImplementorIface and  <a
161
 
href="http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#GtkOrientable"
162
 
>GtkOrientable</a>.</p>
163
 
</div>
164
 
<div class="refsect1" title="Properties">
165
 
<a name="BluetoothChooser.properties"></a><h2>Properties</h2>
166
 
<pre class="synopsis">
167
 
  "<a
168
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--device-category-filter"
169
 
>device-category-filter</a>"   <a
170
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-bluetooth-enums.html#BluetoothCategory"
171
 
>BluetoothCategory</a>     : Read / Write / Construct
172
 
  "<a
173
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--device-selected"
174
 
>device-selected</a>"          <a
175
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
176
 
>gchar</a>*                : Read / Write
177
 
  "<a
178
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--device-service-filter"
179
 
>device-service-filter</a>"    <a
180
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
181
 
>gchar</a>*                : Write
182
 
  "<a
183
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--device-type-filter"
184
 
>device-type-filter</a>"       <a
185
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
186
 
>gint</a>                  : Read / Write / Construct
187
 
  "has-internal-device-filter" <a
188
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
189
 
>gboolean</a>              : Read / Write / Construct Only
190
 
  "<a
191
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--show-connected"
192
 
>show-connected</a>"           <a
193
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
194
 
>gboolean</a>              : Read / Write
195
 
  "<a
196
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--show-device-category"
197
 
>show-device-category</a>"     <a
198
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
199
 
>gboolean</a>              : Read / Write / Construct
200
 
  "<a
201
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--show-device-type"
202
 
>show-device-type</a>"         <a
203
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
204
 
>gboolean</a>              : Read / Write / Construct
205
 
  "<a
206
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--show-pairing"
207
 
>show-pairing</a>"             <a
208
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
209
 
>gboolean</a>              : Read / Write
210
 
  "<a
211
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--show-searching"
212
 
>show-searching</a>"           <a
213
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
214
 
>gboolean</a>              : Read / Write
215
 
  "<a
216
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--title"
217
 
>title</a>"                    <a
218
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
219
 
>gchar</a>*                : Write
220
 
</pre>
221
 
</div>
222
 
<div class="refsect1" title="Signals">
223
 
<a name="BluetoothChooser.signals"></a><h2>Signals</h2>
224
 
<pre class="synopsis">
225
 
  "<a
226
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser-selected-device-changed"
227
 
>selected-device-changed</a>"                        : Run Last
228
 
</pre>
229
 
</div>
230
 
<div class="refsect1" title="Description">
231
 
<a name="BluetoothChooser.description"></a><h2>Description</h2>
232
 
<p>
233
 
</p>
234
 
</div>
235
 
<div class="refsect1" title="Details">
236
 
<a name="BluetoothChooser.details"></a><h2>Details</h2>
237
 
<div class="refsect2" title="BLUETOOTH_GET_CHOOSER_CLASS()">
238
 
<a name="BLUETOOTH-GET-CHOOSER-CLASS--CAPS"></a><h3>BLUETOOTH_GET_CHOOSER_CLASS()</h3>
239
 
<pre class="programlisting">#define             BLUETOOTH_GET_CHOOSER_CLASS(obj)</pre>
240
 
<p>
241
 
</p>
242
 
<div class="variablelist"><table border="0">
243
 
<col align="left" valign="top">
244
 
<tbody><tr>
245
 
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
246
 
<td>
247
 
</td>
248
 
</tr></tbody>
249
 
</table></div>
250
 
</div>
251
 
<hr>
252
 
<div class="refsect2" title="BluetoothChooser">
253
 
<a name="BluetoothChooser-struct"></a><h3>BluetoothChooser</h3>
254
 
<pre class="programlisting">typedef struct _BluetoothChooser BluetoothChooser;</pre>
255
 
<p>
256
 
</p>
257
 
</div>
258
 
<hr>
259
 
<div class="refsect2" title="bluetooth_chooser_new ()">
260
 
<a name="bluetooth-chooser-new"></a><h3>bluetooth_chooser_new ()</h3>
261
 
<pre class="programlisting"><a
262
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
263
 
>GtkWidget</a> *         bluetooth_chooser_new               (const char *title);</pre>
264
 
<p>
265
 
</p>
266
 
<p>
267
 
</p>
268
 
<div class="variablelist"><table border="0">
269
 
<col align="left" valign="top">
270
 
<tbody>
271
 
<tr>
272
 
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
273
 
<td> the widget header title, if <a
274
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
275
 
><code class="literal">NULL</code></a>, the widget header will be hidden.
276
 
</td>
277
 
</tr>
278
 
<tr>
279
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
280
 
<td> A <a
281
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
282
 
><span class="type">BluetoothChooser</span></a> widget
283
 
</td>
284
 
</tr>
285
 
</tbody>
286
 
</table></div>
287
 
</div>
288
 
<hr>
289
 
<div class="refsect2" title="bluetooth_chooser_set_title ()">
290
 
<a name="bluetooth-chooser-set-title"></a><h3>bluetooth_chooser_set_title ()</h3>
291
 
<pre class="programlisting">void                bluetooth_chooser_set_title         (<a
292
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
293
 
>BluetoothChooser</a> *self,
294
 
                                                         const char *title);</pre>
295
 
<p>
296
 
Sets the <a
297
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
298
 
><span class="type">BluetoothChooser</span></a>'s title.</p>
299
 
<p>
300
 
</p>
301
 
<div class="variablelist"><table border="0">
302
 
<col align="left" valign="top">
303
 
<tbody>
304
 
<tr>
305
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
306
 
<td> a BluetoothChooser widget.
307
 
</td>
308
 
</tr>
309
 
<tr>
310
 
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
311
 
<td> the widget header title.
312
 
</td>
313
 
</tr>
314
 
</tbody>
315
 
</table></div>
316
 
</div>
317
 
<hr>
318
 
<div class="refsect2" title="bluetooth_chooser_get_selected_device ()">
319
 
<a name="bluetooth-chooser-get-selected-device"></a><h3>bluetooth_chooser_get_selected_device ()</h3>
320
 
<pre class="programlisting">char *              bluetooth_chooser_get_selected_device
321
 
                                                        (<a
322
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
323
 
>BluetoothChooser</a> *self);</pre>
324
 
<p>
325
 
</p>
326
 
<p>
327
 
</p>
328
 
<div class="variablelist"><table border="0">
329
 
<col align="left" valign="top">
330
 
<tbody>
331
 
<tr>
332
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
333
 
<td> a <a
334
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
335
 
><span class="type">BluetoothChooser</span></a> widget.
336
 
</td>
337
 
</tr>
338
 
<tr>
339
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
340
 
<td> the Bluetooth address for the currently selected device, or <a
341
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
342
 
><code class="literal">NULL</code></a>.
343
 
</td>
344
 
</tr>
345
 
</tbody>
346
 
</table></div>
347
 
</div>
348
 
<hr>
349
 
<div class="refsect2" title="bluetooth_chooser_get_selected_device_info ()">
350
 
<a name="bluetooth-chooser-get-selected-device-info"></a><h3>bluetooth_chooser_get_selected_device_info ()</h3>
351
 
<pre class="programlisting"><a
352
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
353
 
>gboolean</a>            bluetooth_chooser_get_selected_device_info
354
 
                                                        (<a
355
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
356
 
>BluetoothChooser</a> *self,
357
 
                                                         const char *field,
358
 
                                                         <a
359
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
360
 
>GValue</a> *value);</pre>
361
 
<p>
362
 
</p>
363
 
<p>
364
 
</p>
365
 
<div class="variablelist"><table border="0">
366
 
<col align="left" valign="top">
367
 
<tbody>
368
 
<tr>
369
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
370
 
<td> A <a
371
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
372
 
><span class="type">BluetoothChooser</span></a> widget.
373
 
</td>
374
 
</tr>
375
 
<tr>
376
 
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
377
 
<td> The identifier for the field to get data for.
378
 
</td>
379
 
</tr>
380
 
<tr>
381
 
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
382
 
<td> An empty <a
383
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
384
 
><span class="type">GValue</span></a> to set.
385
 
</td>
386
 
</tr>
387
 
<tr>
388
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
389
 
<td> <a
390
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
391
 
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>value</code></em> has been set.
392
 
</td>
393
 
</tr>
394
 
</tbody>
395
 
</table></div>
396
 
</div>
397
 
<hr>
398
 
<div class="refsect2" title="bluetooth_chooser_get_selected_device_name ()">
399
 
<a name="bluetooth-chooser-get-selected-device-name"></a><h3>bluetooth_chooser_get_selected_device_name ()</h3>
400
 
<pre class="programlisting">char *              bluetooth_chooser_get_selected_device_name
401
 
                                                        (<a
402
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
403
 
>BluetoothChooser</a> *self);</pre>
404
 
<p>
405
 
</p>
406
 
<p>
407
 
</p>
408
 
<div class="variablelist"><table border="0">
409
 
<col align="left" valign="top">
410
 
<tbody>
411
 
<tr>
412
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
413
 
<td> a <a
414
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
415
 
><span class="type">BluetoothChooser</span></a> widget.
416
 
</td>
417
 
</tr>
418
 
<tr>
419
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
420
 
<td> the name for the currently selected device, or <a
421
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
422
 
><code class="literal">NULL</code></a>.
423
 
</td>
424
 
</tr>
425
 
</tbody>
426
 
</table></div>
427
 
</div>
428
 
<hr>
429
 
<div class="refsect2" title="bluetooth_chooser_get_selected_device_icon ()">
430
 
<a name="bluetooth-chooser-get-selected-device-icon"></a><h3>bluetooth_chooser_get_selected_device_icon ()</h3>
431
 
<pre class="programlisting">char *              bluetooth_chooser_get_selected_device_icon
432
 
                                                        (<a
433
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
434
 
>BluetoothChooser</a> *self);</pre>
435
 
<p>
436
 
</p>
437
 
<p>
438
 
</p>
439
 
<div class="variablelist"><table border="0">
440
 
<col align="left" valign="top">
441
 
<tbody>
442
 
<tr>
443
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
444
 
<td> a <a
445
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
446
 
><span class="type">BluetoothChooser</span></a> widget.
447
 
</td>
448
 
</tr>
449
 
<tr>
450
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
451
 
<td> the icon name to use to represent the currently selected device, or <a
452
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
453
 
><code class="literal">NULL</code></a>.
454
 
</td>
455
 
</tr>
456
 
</tbody>
457
 
</table></div>
458
 
</div>
459
 
<hr>
460
 
<div class="refsect2" title="bluetooth_chooser_get_selected_device_type ()">
461
 
<a name="bluetooth-chooser-get-selected-device-type"></a><h3>bluetooth_chooser_get_selected_device_type ()</h3>
462
 
<pre class="programlisting"><a
463
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-bluetooth-enums.html#BluetoothType"
464
 
>BluetoothType</a>       bluetooth_chooser_get_selected_device_type
465
 
                                                        (<a
466
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
467
 
>BluetoothChooser</a> *self);</pre>
468
 
<p>
469
 
</p>
470
 
<p>
471
 
</p>
472
 
<div class="variablelist"><table border="0">
473
 
<col align="left" valign="top">
474
 
<tbody>
475
 
<tr>
476
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
477
 
<td> a <a
478
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
479
 
><span class="type">BluetoothChooser</span></a> widget.
480
 
</td>
481
 
</tr>
482
 
<tr>
483
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
484
 
<td> the <a
485
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-bluetooth-enums.html#BluetoothType"
486
 
><span class="type">BluetoothType</span></a> of the device selected, or '0' if unknown.
487
 
</td>
488
 
</tr>
489
 
</tbody>
490
 
</table></div>
491
 
</div>
492
 
<hr>
493
 
<div class="refsect2" title="bluetooth_chooser_get_selected_device_is_connected ()">
494
 
<a name="bluetooth-chooser-get-selected-device-is-connected"></a><h3>bluetooth_chooser_get_selected_device_is_connected ()</h3>
495
 
<pre class="programlisting"><a
496
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
497
 
>gboolean</a>            bluetooth_chooser_get_selected_device_is_connected
498
 
                                                        (<a
499
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
500
 
>BluetoothChooser</a> *self);</pre>
501
 
<p>
502
 
</p>
503
 
<p>
504
 
</p>
505
 
<div class="variablelist"><table border="0">
506
 
<col align="left" valign="top">
507
 
<tbody>
508
 
<tr>
509
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
510
 
<td> a <a
511
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
512
 
><span class="type">BluetoothChooser</span></a> widget.
513
 
</td>
514
 
</tr>
515
 
<tr>
516
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
517
 
<td> whether the selected device is conncted to this computer,
518
 
will always be <a
519
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
520
 
><code class="literal">FALSE</code></a> if no devices are selected.
521
 
</td>
522
 
</tr>
523
 
</tbody>
524
 
</table></div>
525
 
</div>
526
 
<hr>
527
 
<div class="refsect2" title="bluetooth_chooser_start_discovery ()">
528
 
<a name="bluetooth-chooser-start-discovery"></a><h3>bluetooth_chooser_start_discovery ()</h3>
529
 
<pre class="programlisting">void                bluetooth_chooser_start_discovery   (<a
530
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
531
 
>BluetoothChooser</a> *self);</pre>
532
 
<p>
533
 
Starts a discovery on the default Bluetooth adapter. Note that this will
534
 
only work if the Search label is visible, as otherwise the user has no
535
 
visual feedback that the process is on-going.
536
 
</p>
537
 
<p>
538
 
See also: <a
539
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--show-searching"
540
 
><span class="type">"show-searching"</span></a></p>
541
 
<p>
542
 
</p>
543
 
<div class="variablelist"><table border="0">
544
 
<col align="left" valign="top">
545
 
<tbody><tr>
546
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
547
 
<td> a <a
548
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
549
 
><span class="type">BluetoothChooser</span></a> widget.
550
 
</td>
551
 
</tr></tbody>
552
 
</table></div>
553
 
</div>
554
 
<hr>
555
 
<div class="refsect2" title="bluetooth_chooser_stop_discovery ()">
556
 
<a name="bluetooth-chooser-stop-discovery"></a><h3>bluetooth_chooser_stop_discovery ()</h3>
557
 
<pre class="programlisting">void                bluetooth_chooser_stop_discovery    (<a
558
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
559
 
>BluetoothChooser</a> *self);</pre>
560
 
<p>
561
 
Stops a discovery started with <a
562
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-start-discovery"
563
 
><span class="type">bluetooth_chooser_start_discovery</span></a>.</p>
564
 
<p>
565
 
</p>
566
 
<div class="variablelist"><table border="0">
567
 
<col align="left" valign="top">
568
 
<tbody><tr>
569
 
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
570
 
<td> a <a
571
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
572
 
><span class="type">BluetoothChooser</span></a> widget.
573
 
</td>
574
 
</tr></tbody>
575
 
</table></div>
576
 
</div>
577
 
</div>
578
 
<div class="refsect1" title="Property Details">
579
 
<a name="BluetoothChooser.property-details"></a><h2>Property Details</h2>
580
 
<div class="refsect2" title='The "device-category-filter" property'>
581
 
<a name="BluetoothChooser--device-category-filter"></a><h3>The <code class="literal">"device-category-filter"</code> property</h3>
582
 
<pre class="programlisting">  "device-category-filter"   <a
583
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/gnome-bluetooth-bluetooth-enums.html#BluetoothCategory"
584
 
>BluetoothCategory</a>     : Read / Write / Construct</pre>
585
 
<p>The #BluetoothCategory to show.</p>
586
 
<p>Default value: BLUETOOTH_CATEGORY_ALL</p>
587
 
</div>
588
 
<hr>
589
 
<div class="refsect2" title='The "device-selected" property'>
590
 
<a name="BluetoothChooser--device-selected"></a><h3>The <code class="literal">"device-selected"</code> property</h3>
591
 
<pre class="programlisting">  "device-selected"          <a
592
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
593
 
>gchar</a>*                : Read / Write</pre>
594
 
<p>the Bluetooth address for the currently selected device, or %NULL.</p>
595
 
<p>Default value: NULL</p>
596
 
</div>
597
 
<hr>
598
 
<div class="refsect2" title='The "device-service-filter" property'>
599
 
<a name="BluetoothChooser--device-service-filter"></a><h3>The <code class="literal">"device-service-filter"</code> property</h3>
600
 
<pre class="programlisting">  "device-service-filter"    <a
601
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
602
 
>gchar</a>*                : Write</pre>
603
 
<p>A string representing the service to filter for.</p>
604
 
<p>Default value: NULL</p>
605
 
</div>
606
 
<hr>
607
 
<div class="refsect2" title='The "device-type-filter" property'>
608
 
<a name="BluetoothChooser--device-type-filter"></a><h3>The <code class="literal">"device-type-filter"</code> property</h3>
609
 
<pre class="programlisting">  "device-type-filter"       <a
610
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
611
 
>gint</a>                  : Read / Write / Construct</pre>
612
 
<p>A bitmask of #BluetoothType to show.</p>
613
 
<p>Allowed values: [1,16383]</p>
614
 
<p>Default value: 1</p>
615
 
</div>
616
 
<hr>
617
 
<div class="refsect2" title='The "has-internal-device-filter" property'>
618
 
<a name="BluetoothChooser--has-internal-device-filter"></a><h3>The <code class="literal">"has-internal-device-filter"</code> property</h3>
619
 
<pre class="programlisting">  "has-internal-device-filter" <a
620
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
621
 
>gboolean</a>              : Read / Write / Construct Only</pre>
622
 
<p>Whether the #BluetoothChooser should be constructed with a visible #BluetoothFilterWidget.</p>
623
 
<p>Default value: TRUE</p>
624
 
</div>
625
 
<hr>
626
 
<div class="refsect2" title='The "show-connected" property'>
627
 
<a name="BluetoothChooser--show-connected"></a><h3>The <code class="literal">"show-connected"</code> property</h3>
628
 
<pre class="programlisting">  "show-connected"           <a
629
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
630
 
>gboolean</a>              : Read / Write</pre>
631
 
<p>Whether to show the connected column in the tree.</p>
632
 
<p>Default value: FALSE</p>
633
 
</div>
634
 
<hr>
635
 
<div class="refsect2" title='The "show-device-category" property'>
636
 
<a name="BluetoothChooser--show-device-category"></a><h3>The <code class="literal">"show-device-category"</code> property</h3>
637
 
<pre class="programlisting">  "show-device-category"     <a
638
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
639
 
>gboolean</a>              : Read / Write / Construct</pre>
640
 
<p>Whether to show the device category filter.</p>
641
 
<p>Default value: TRUE</p>
642
 
</div>
643
 
<hr>
644
 
<div class="refsect2" title='The "show-device-type" property'>
645
 
<a name="BluetoothChooser--show-device-type"></a><h3>The <code class="literal">"show-device-type"</code> property</h3>
646
 
<pre class="programlisting">  "show-device-type"         <a
647
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
648
 
>gboolean</a>              : Read / Write / Construct</pre>
649
 
<p>Whether to show the device type filter.</p>
650
 
<p>Default value: TRUE</p>
651
 
</div>
652
 
<hr>
653
 
<div class="refsect2" title='The "show-pairing" property'>
654
 
<a name="BluetoothChooser--show-pairing"></a><h3>The <code class="literal">"show-pairing"</code> property</h3>
655
 
<pre class="programlisting">  "show-pairing"             <a
656
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
657
 
>gboolean</a>              : Read / Write</pre>
658
 
<p>Whether to show the pairing column in the tree.</p>
659
 
<p>Default value: FALSE</p>
660
 
</div>
661
 
<hr>
662
 
<div class="refsect2" title='The "show-searching" property'>
663
 
<a name="BluetoothChooser--show-searching"></a><h3>The <code class="literal">"show-searching"</code> property</h3>
664
 
<pre class="programlisting">  "show-searching"           <a
665
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
666
 
>gboolean</a>              : Read / Write</pre>
667
 
<p>Whether to show the Searching label , this is necessary if you want to programmatically start a discovery, using bluetooth_chooser_start_discovery().</p>
668
 
<p>Default value: FALSE</p>
669
 
</div>
670
 
<hr>
671
 
<div class="refsect2" title='The "title" property'>
672
 
<a name="BluetoothChooser--title"></a><h3>The <code class="literal">"title"</code> property</h3>
673
 
<pre class="programlisting">  "title"                    <a
674
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
675
 
>gchar</a>*                : Write</pre>
676
 
<p>The widget header title.</p>
677
 
<p>Default value: NULL</p>
678
 
</div>
679
 
</div>
680
 
<div class="refsect1" title="Signal Details">
681
 
<a name="BluetoothChooser.signal-details"></a><h2>Signal Details</h2>
682
 
<div class="refsect2" title='The "selected-device-changed" signal'>
683
 
<a name="BluetoothChooser-selected-device-changed"></a><h3>The <code class="literal">"selected-device-changed"</code> signal</h3>
684
 
<pre class="programlisting">void                user_function                      (<a
685
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
686
 
>BluetoothChooser</a> *chooser,
687
 
                                                        <a
688
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
689
 
>gchar</a>            *address,
690
 
                                                        <a
691
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
692
 
>gpointer</a>          user_data)      : Run Last</pre>
693
 
<p>
694
 
The <span class="type">"selected-device-changed"</span> signal is launched when the
695
 
selected device is changed, it will be <a
696
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
697
 
><code class="literal">NULL</code></a> if a device was unselected.</p>
698
 
<p>
699
 
</p>
700
 
<div class="variablelist"><table border="0">
701
 
<col align="left" valign="top">
702
 
<tbody>
703
 
<tr>
704
 
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
705
 
<td> a <a
706
 
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
707
 
><span class="type">BluetoothChooser</span></a> widget which received the signal
708
 
</td>
709
 
</tr>
710
 
<tr>
711
 
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
712
 
<td> the Bluetooth address for the currently selected device, or <a
713
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
714
 
><code class="literal">NULL</code></a>
715
 
</td>
716
 
</tr>
717
 
<tr>
718
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
719
 
<td>user data set when the signal handler was connected.</td>
720
 
</tr>
721
 
</tbody>
722
 
</table></div>
723
 
</div>
724
 
</div>
725
 
</div>
726
 
<div class="footer">
727
 
<hr>
728
 
          Generated by GTK-Doc V1.11</div>
729
 
</body>
730
 
</html>