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>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">
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">
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>
26
<tr><td colspan="5" class="shortcuts">
27
<a href="#BluetoothChooser.synopsis" class="shortcut">Top</a>
29
<a href="#BluetoothChooser.description" class="shortcut">Description</a>
31
<a href="#BluetoothChooser.object-hierarchy" class="shortcut">Object Hierarchy</a>
33
<a href="#BluetoothChooser.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
35
<a href="#BluetoothChooser.properties" class="shortcut">Properties</a>
37
<a href="#BluetoothChooser.signals" class="shortcut">Signals</a>
40
<div class="refentry" title="BluetoothChooser">
41
<a name="BluetoothChooser"></a><div class="titlepage"></div>
42
<div class="refnamediv"><table width="100%"><tr>
44
<h2><span class="refentrytitle"><a name="BluetoothChooser.top_of_page"></a>BluetoothChooser</span></h2>
45
<p>BluetoothChooser</p>
47
<td valign="top" align="right"></td>
49
<div class="refsynopsisdiv" title="Synopsis">
50
<a name="BluetoothChooser.synopsis"></a><h2>Synopsis</h2>
51
<pre class="synopsis">
53
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BLUETOOTH-GET-CHOOSER-CLASS--CAPS"
54
>BLUETOOTH_GET_CHOOSER_CLASS</a> (obj)
56
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser-struct"
57
>BluetoothChooser</a>;
59
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
61
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-new"
62
>bluetooth_chooser_new</a> (const char *title);
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,
70
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#bluetooth-chooser-get-selected-device"
71
>bluetooth_chooser_get_selected_device</a>
73
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
74
>BluetoothChooser</a> *self);
76
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
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>
81
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
82
>BluetoothChooser</a> *self,
85
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
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>
91
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
92
>BluetoothChooser</a> *self);
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>
97
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
98
>BluetoothChooser</a> *self);
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>
105
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
106
>BluetoothChooser</a> *self);
108
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
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>
113
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
114
>BluetoothChooser</a> *self);
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);
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);
127
<div class="refsect1" title="Object Hierarchy">
128
<a name="BluetoothChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
129
<pre class="synopsis">
131
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
134
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
135
>GInitiallyUnowned</a>
137
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
140
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
143
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
146
href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html"
149
href="http://library.gnome.org/devel/gtk/unstable/GtkVBox.html"
151
+----BluetoothChooser
154
<div class="refsect1" title="Implemented Interfaces">
155
<a name="BluetoothChooser.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
157
BluetoothChooser implements
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>
164
<div class="refsect1" title="Properties">
165
<a name="BluetoothChooser.properties"></a><h2>Properties</h2>
166
<pre class="synopsis">
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
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
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"
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
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
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
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
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
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
216
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--title"
218
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
222
<div class="refsect1" title="Signals">
223
<a name="BluetoothChooser.signals"></a><h2>Signals</h2>
224
<pre class="synopsis">
226
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser-selected-device-changed"
227
>selected-device-changed</a>" : Run Last
230
<div class="refsect1" title="Description">
231
<a name="BluetoothChooser.description"></a><h2>Description</h2>
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>
242
<div class="variablelist"><table border="0">
243
<col align="left" valign="top">
245
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
252
<div class="refsect2" title="BluetoothChooser">
253
<a name="BluetoothChooser-struct"></a><h3>BluetoothChooser</h3>
254
<pre class="programlisting">typedef struct _BluetoothChooser BluetoothChooser;</pre>
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>
268
<div class="variablelist"><table border="0">
269
<col align="left" valign="top">
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.
279
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
281
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
282
><span class="type">BluetoothChooser</span></a> widget
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>
297
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
298
><span class="type">BluetoothChooser</span></a>'s title.</p>
301
<div class="variablelist"><table border="0">
302
<col align="left" valign="top">
305
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
306
<td> a BluetoothChooser widget.
310
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
311
<td> the widget header title.
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
322
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
323
>BluetoothChooser</a> *self);</pre>
328
<div class="variablelist"><table border="0">
329
<col align="left" valign="top">
332
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
334
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
335
><span class="type">BluetoothChooser</span></a> widget.
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>.
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
355
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
356
>BluetoothChooser</a> *self,
359
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
360
>GValue</a> *value);</pre>
365
<div class="variablelist"><table border="0">
366
<col align="left" valign="top">
369
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
371
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
372
><span class="type">BluetoothChooser</span></a> widget.
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.
381
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
383
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
384
><span class="type">GValue</span></a> to set.
388
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
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.
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
402
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
403
>BluetoothChooser</a> *self);</pre>
408
<div class="variablelist"><table border="0">
409
<col align="left" valign="top">
412
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
414
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
415
><span class="type">BluetoothChooser</span></a> widget.
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>.
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
433
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
434
>BluetoothChooser</a> *self);</pre>
439
<div class="variablelist"><table border="0">
440
<col align="left" valign="top">
443
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
445
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
446
><span class="type">BluetoothChooser</span></a> widget.
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>.
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
466
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
467
>BluetoothChooser</a> *self);</pre>
472
<div class="variablelist"><table border="0">
473
<col align="left" valign="top">
476
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
478
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
479
><span class="type">BluetoothChooser</span></a> widget.
483
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
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.
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
499
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
500
>BluetoothChooser</a> *self);</pre>
505
<div class="variablelist"><table border="0">
506
<col align="left" valign="top">
509
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
511
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
512
><span class="type">BluetoothChooser</span></a> widget.
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,
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.
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>
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.
539
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html#BluetoothChooser--show-searching"
540
><span class="type">"show-searching"</span></a></p>
543
<div class="variablelist"><table border="0">
544
<col align="left" valign="top">
546
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
548
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
549
><span class="type">BluetoothChooser</span></a> widget.
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>
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>
566
<div class="variablelist"><table border="0">
567
<col align="left" valign="top">
569
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
571
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
572
><span class="type">BluetoothChooser</span></a> widget.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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,
688
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
691
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
692
>gpointer</a> user_data) : Run Last</pre>
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>
700
<div class="variablelist"><table border="0">
701
<col align="left" valign="top">
704
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
706
href="http://library.gnome.org/devel/gnome-bluetooth/unstable/BluetoothChooser.html"
707
><span class="type">BluetoothChooser</span></a> widget which received the signal
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>
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>
728
Generated by GTK-Doc V1.11</div>