This file is indexed.

/usr/share/gtk-doc/html/libinfgtk-0.6/InfGtkBrowserModel.html is in libinfinity-0.6-doc 0.6.7-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfGtkBrowserModel: libinfgtk-0.6 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libinfgtk-0.6 Reference Manual">
<link rel="up" href="ch01.html" title="libinfgtk API">
<link rel="prev" href="InfGtkBrowserView.html" title="InfGtkBrowserView">
<link rel="next" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#InfGtkBrowserModel.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#InfGtkBrowserModel.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
                  <a href="#InfGtkBrowserModel.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations">  <span class="dim">|</span> 
                  <a href="#InfGtkBrowserModel.implementations" class="shortcut">Known Implementations</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#InfGtkBrowserModel.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="InfGtkBrowserView.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="InfGtkBrowserStore.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="InfGtkBrowserModel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfGtkBrowserModel.top_of_page"></a>InfGtkBrowserModel</span></h2>
<p>InfGtkBrowserModel — Interface for tree models representing infinote
directories</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="InfGtkBrowserModel.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Unstable"><span class="acronym">Unstable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="InfGtkBrowserModel.html#INF-GTK-TYPE-BROWSER-MODEL-STATUS:CAPS" title="INF_GTK_TYPE_BROWSER_MODEL_STATUS">INF_GTK_TYPE_BROWSER_MODEL_STATUS</a></td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="InfGtkBrowserModel.html#inf-gtk-browser-model-set-browser" title="inf_gtk_browser_model_set_browser ()">inf_gtk_browser_model_set_browser</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="InfGtkBrowserModel.html#inf-gtk-browser-model-resolve" title="inf_gtk_browser_model_resolve ()">inf_gtk_browser_model_resolve</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="InfGtkBrowserModel.html#inf-gtk-browser-model-browser-iter-to-tree-iter" title="inf_gtk_browser_model_browser_iter_to_tree_iter ()">inf_gtk_browser_model_browser_iter_to_tree_iter</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody><tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="InfGtkBrowserModel.html#InfGtkBrowserModel-set-browser" title="The “set-browser” signal">set-browser</a></td>
<td class="signal_flags">Run Last</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="InfGtkBrowserModel.html#InfGtkBrowserModel-struct" title="InfGtkBrowserModel">InfGtkBrowserModel</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="InfGtkBrowserModel.html#InfGtkBrowserModelIface" title="struct InfGtkBrowserModelIface">InfGtkBrowserModelIface</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="InfGtkBrowserModel.html#InfGtkBrowserModelStatus" title="enum InfGtkBrowserModelStatus">InfGtkBrowserModelStatus</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="InfGtkBrowserModel.html#InfGtkBrowserModelColumn" title="enum InfGtkBrowserModelColumn">InfGtkBrowserModelColumn</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GEnum
    <span class="lineart">╰──</span> InfGtkBrowserModelStatus
    GInterface
    <span class="lineart">╰──</span> InfGtkBrowserModel
</pre>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.prerequisites"></a><h2>Prerequisites</h2>
<p>
InfGtkBrowserModel requires
 GtkTreeModel and  GObject.</p>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.implementations"></a><h2>Known Implementations</h2>
<p>
InfGtkBrowserModel is implemented by
 <a class="link" href="InfGtkBrowserModelFilter.html" title="InfGtkBrowserModelFilter">InfGtkBrowserModelFilter</a>,  <a class="link" href="InfGtkBrowserModelSort.html" title="InfGtkBrowserModelSort">InfGtkBrowserModelSort</a> and  <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore">InfGtkBrowserStore</a>.</p>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;libinfgtk/inf-gtk-browser-model.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.description"></a><h2>Description</h2>
<p><a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> provides an interface for tree models that are used to
show the contents of infinote directories. All implementations of
<a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> also need to implement <span class="type">GtkTreeModel</span> and can then by
displayed in a <span class="type">GtkTreeView</span>.</p>
<p><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> is a reference implementation of this interface,
allowing to add discoveries and browsers to it which it then manages.
Other implementations include <a class="link" href="InfGtkBrowserModelSort.html" title="InfGtkBrowserModelSort"><span class="type">InfGtkBrowserModelSort</span></a> and
<a class="link" href="InfGtkBrowserModelFilter.html" title="InfGtkBrowserModelFilter"><span class="type">InfGtkBrowserModelFilter</span></a> which can be used to sort or filter the list.</p>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="INF-GTK-TYPE-BROWSER-MODEL-STATUS:CAPS"></a><h3>INF_GTK_TYPE_BROWSER_MODEL_STATUS</h3>
<pre class="programlisting">#define INF_GTK_TYPE_BROWSER_MODEL_STATUS          (inf_gtk_browser_model_status_get_type())
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="inf-gtk-browser-model-set-browser"></a><h3>inf_gtk_browser_model_set_browser ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
inf_gtk_browser_model_set_browser (<em class="parameter"><code><a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> *model</code></em>,
                                   <em class="parameter"><code><span class="type">GtkTreePath</span> *path</code></em>,
                                   <em class="parameter"><code><span class="type">GtkTreeIter</span> *iter</code></em>,
                                   <em class="parameter"><code><a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a> *old_browser</code></em>,
                                   <em class="parameter"><code><a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a> *new_browser</code></em>);</pre>
<p>Emits the <a class="link" href="InfGtkBrowserModel.html#InfGtkBrowserModel-set-browser" title="The “set-browser” signal"><span class="type">“set-browser”</span></a> signal. This is supposed to only
be called by implementations of <a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> whenever they set or
unset a browser on a row.</p>
<div class="refsect3">
<a name="id-1.2.3.12.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>A <a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A <span class="type">GtkTreePath</span> to a top-level row.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>A <span class="type">GtkTreeIter</span> pointing to the same row.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>old_browser</p></td>
<td class="parameter_description"><p>The browser which was set at this row before.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>new_browser</p></td>
<td class="parameter_description"><p>The new <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a> to set for this row.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="inf-gtk-browser-model-resolve"></a><h3>inf_gtk_browser_model_resolve ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
inf_gtk_browser_model_resolve (<em class="parameter"><code><a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> *model</code></em>,
                               <em class="parameter"><code><a href="../libinfinity-0.6/InfDiscovery.html"><span class="type">InfDiscovery</span></a> *discovery</code></em>,
                               <em class="parameter"><code><a href="../libinfinity-0.6/InfDiscovery.html#InfDiscoveryInfo"><span class="type">InfDiscoveryInfo</span></a> *info</code></em>);</pre>
<p>Resolves <em class="parameter"><code>info</code></em>
 and adds the resulting connection to the model. If that
connection is already contained, the original (newly resolved) entry
is removed in favor of the existing entry whose browser might already
have explored (parts of) the server's directory.</p>
<div class="refsect3">
<a name="id-1.2.3.12.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>A <a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>discovery</p></td>
<td class="parameter_description"><p>A <a href="../libinfinity-0.6/InfDiscovery.html"><span class="type">InfDiscovery</span></a> added to <em class="parameter"><code>store</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>A <a href="../libinfinity-0.6/InfDiscovery.html#InfDiscoveryInfo"><span class="type">InfDiscoveryInfo</span></a> discovered by <em class="parameter"><code>discovery</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="inf-gtk-browser-model-browser-iter-to-tree-iter"></a><h3>inf_gtk_browser_model_browser_iter_to_tree_iter ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
inf_gtk_browser_model_browser_iter_to_tree_iter
                               (<em class="parameter"><code><a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> *model</code></em>,
                                <em class="parameter"><code><a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a> *browser</code></em>,
                                <em class="parameter"><code>const <a href="../libinfinity-0.6/InfBrowserIter.html"><span class="type">InfBrowserIter</span></a> *iter</code></em>,
                                <em class="parameter"><code><span class="type">GtkTreeIter</span> *tree_iter</code></em>);</pre>
<p>Sets <em class="parameter"><code>tree_iter</code></em>
 to point to the same node <em class="parameter"><code>iter</code></em>
 refers to
within the model. If <em class="parameter"><code>browser</code></em>
 is not known to <em class="parameter"><code>model</code></em>
, i.e. its connection
was never added to <em class="parameter"><code>model</code></em>
, then the function returns <code class="literal">FALSE</code> and
<em class="parameter"><code>tree_iter</code></em>
 is left untouched.</p>
<p>If <em class="parameter"><code>iter</code></em>
 is <code class="literal">NULL</code>, the function sets <em class="parameter"><code>tree_iter</code></em>
 to point to the top
level entry representing <em class="parameter"><code>browser</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.3.12.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>A <a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>browser</p></td>
<td class="parameter_description"><p>A <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>A <a href="../libinfinity-0.6/InfBrowserIter.html"><span class="type">InfBrowserIter</span></a> pointing into <em class="parameter"><code>browser</code></em>
, or <code class="literal">NULL</code>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tree_iter</p></td>
<td class="parameter_description"><p>A <span class="type">GtkTreeIter</span> that will be set by this function.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.3.12.5.7"></a><h4>Returns</h4>
<p> Whether <em class="parameter"><code>tree_iter</code></em>
was set.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="InfGtkBrowserModel-struct"></a><h3>InfGtkBrowserModel</h3>
<pre class="programlisting">typedef struct _InfGtkBrowserModel InfGtkBrowserModel;</pre>
<p><a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> is an opaque data type. You should only access it
via the public API functions.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfGtkBrowserModelIface"></a><h3>struct InfGtkBrowserModelIface</h3>
<pre class="programlisting">struct InfGtkBrowserModelIface {
  /* signals */
  void(*set_browser)(InfGtkBrowserModel* model,
                     GtkTreePath* path,
                     GtkTreeIter* iter,
                     InfBrowser* old_browser,
                     InfBrowser* new_browser);

  /* virtual functions */
  void(*resolve)(InfGtkBrowserModel* model,
                 InfDiscovery* discovery,
                 InfDiscoveryInfo* info);

  gboolean(*browser_iter_to_tree_iter)(InfGtkBrowserModel* model,
                                       InfBrowser* browser,
                                       const InfBrowserIter* iter,
                                       GtkTreeIter* tree_iter);
};
</pre>
<p>This structure contains virtual functions and signal handlers of the
<a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> interface.</p>
<div class="refsect3">
<a name="id-1.2.3.13.3.5"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="InfGtkBrowserModelIface.set-browser"></a>set_browser</code></em> ()</p></td>
<td class="struct_member_description"><p>Default signal handler of the
<a class="link" href="InfGtkBrowserModel.html#InfGtkBrowserModel-set-browser" title="The “set-browser” signal"><span class="type">“set-browser”</span></a> signal.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="InfGtkBrowserModelIface.resolve"></a>resolve</code></em> ()</p></td>
<td class="struct_member_description"><p>Virtual function for resolving a discovered infinote service.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="InfGtkBrowserModelIface.browser-iter-to-tree-iter"></a>browser_iter_to_tree_iter</code></em> ()</p></td>
<td class="struct_member_description"><p>Virtual function for converting a
<a href="../libinfinity-0.6/InfBrowserIter.html"><span class="type">InfBrowserIter</span></a> to a <span class="type">GtkTreeIter</span>.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="InfGtkBrowserModelStatus"></a><h3>enum InfGtkBrowserModelStatus</h3>
<p>The different statuses an item in the <a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> can have. The
status of an item is only defined for toplevel items in the tree.</p>
<div class="refsect3">
<a name="id-1.2.3.13.4.4"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-INVALID:CAPS"></a>INF_GTK_BROWSER_MODEL_INVALID</p></td>
<td class="enum_member_description">
<p>Invalid state. A healthy item should not
have this status.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-DISCOVERED:CAPS"></a>INF_GTK_BROWSER_MODEL_DISCOVERED</p></td>
<td class="enum_member_description">
<p>The item was discovered with a
<a href="../libinfinity-0.6/InfDiscovery.html"><span class="type">InfDiscovery</span></a>, but no attempt has been made at connecting to it.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-RESOLVING:CAPS"></a>INF_GTK_BROWSER_MODEL_RESOLVING</p></td>
<td class="enum_member_description">
<p>The item was discovered with a
<a href="../libinfinity-0.6/InfDiscovery.html"><span class="type">InfDiscovery</span></a> and is currently being resolved, see <a href="../libinfinity-0.6/InfDiscovery.html#inf-discovery-resolve"><code class="function">inf_discovery_resolve()</code></a>.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-DISCONNECTED:CAPS"></a>INF_GTK_BROWSER_MODEL_DISCONNECTED</p></td>
<td class="enum_member_description">
<p>A connection attempt to the remote
site was not successful, or the connection was lost. The connection
parameters are known, but currently no connection is established.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-CONNECTING:CAPS"></a>INF_GTK_BROWSER_MODEL_CONNECTING</p></td>
<td class="enum_member_description">
<p>A connection attempt to the remote site
is currently in progress.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-CONNECTED:CAPS"></a>INF_GTK_BROWSER_MODEL_CONNECTED</p></td>
<td class="enum_member_description">
<p>A connection to the remote site has been
established and its directory can be browsed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-ERROR:CAPS"></a>INF_GTK_BROWSER_MODEL_ERROR</p></td>
<td class="enum_member_description">
<p>An error has occured with this item. The
column with index <a class="link" href="InfGtkBrowserModel.html#INF-GTK-BROWSER-MODEL-COL-ERROR:CAPS"><code class="literal">INF_GTK_BROWSER_MODEL_COL_ERROR</code></a> has more information
about the error that occurred.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="InfGtkBrowserModelColumn"></a><h3>enum InfGtkBrowserModelColumn</h3>
<p>The various <span class="type">GtkTreeModel</span> columns that a tree model implementing
<a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> must support.</p>
<div class="refsect3">
<a name="id-1.2.3.13.5.4"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-COL-DISCOVERY-INFO:CAPS"></a>INF_GTK_BROWSER_MODEL_COL_DISCOVERY_INFO</p></td>
<td class="enum_member_description">
<p>The <a href="../libinfinity-0.6/InfDiscovery.html#InfDiscoveryInfo"><span class="type">InfDiscoveryInfo</span></a> of a
discovered toplevel item, or <code class="literal">NULL</code> if the item was not discovered.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-COL-DISCOVERY:CAPS"></a>INF_GTK_BROWSER_MODEL_COL_DISCOVERY</p></td>
<td class="enum_member_description">
<p>The <a href="../libinfinity-0.6/InfDiscovery.html"><span class="type">InfDiscovery</span></a> object that the
item has been discovered with, if any.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-COL-BROWSER:CAPS"></a>INF_GTK_BROWSER_MODEL_COL_BROWSER</p></td>
<td class="enum_member_description">
<p>The <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a> with which this item
is being browsed, or <code class="literal">NULL</code> if no browser is available.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-COL-STATUS:CAPS"></a>INF_GTK_BROWSER_MODEL_COL_STATUS</p></td>
<td class="enum_member_description">
<p>The status of this item. This column is
only valid for toplevel items, i.e. for connections to directories.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-COL-NAME:CAPS"></a>INF_GTK_BROWSER_MODEL_COL_NAME</p></td>
<td class="enum_member_description">
<p>The name of the item as a simple string.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-COL-ERROR:CAPS"></a>INF_GTK_BROWSER_MODEL_COL_ERROR</p></td>
<td class="enum_member_description">
<p>If an error has occurred with the item,
for example the connection failed, or a node exploration failed, this
column contains a <span class="type">GError</span> with more error information.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-COL-NODE:CAPS"></a>INF_GTK_BROWSER_MODEL_COL_NODE</p></td>
<td class="enum_member_description">
<p>The <a href="../libinfinity-0.6/InfBrowserIter.html"><span class="type">InfBrowserIter</span></a> pointing to the
corresponding node of the <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a>.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INF-GTK-BROWSER-MODEL-NUM-COLS:CAPS"></a>INF_GTK_BROWSER_MODEL_NUM_COLS</p></td>
<td class="enum_member_description">
<p>The total number of columns of a
<a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="InfGtkBrowserModel-set-browser"></a><h3>The <code class="literal">“set-browser”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> *model,
               <span class="type">GtkTreePath</span>        *path,
               <span class="type">GtkTreeIter</span>        *iter,
               <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a>         *old_browser,
               <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a>         *new_browser,
               <span class="type">gpointer</span>            user_data)</pre>
<p>This signal is emitted every time the <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a> for one of the
model's top-level entries change. This means either that a completely
new item was inserted, that an item providing only a discovery has
been resolved (see <a class="link" href="InfGtkBrowserModel.html#inf-gtk-browser-model-resolve" title="inf_gtk_browser_model_resolve ()"><code class="function">inf_gtk_browser_model_resolve()</code></a>), or that a
top-level entry has been removed.</p>
<p>During emission of the signal the actual value in the model might
either be the old or the new browser.</p>
<div class="refsect3">
<a name="id-1.2.3.14.2.6"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>The <a class="link" href="InfGtkBrowserModel.html" title="InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> emitting the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>A <span class="type">GtkTreePath</span> pointing to the item with a new browesr.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>A <span class="type">GtkTreeIter</span> pointing to the item with a new browser.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>old_browser</p></td>
<td class="parameter_description"><p>The previous <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>new_browser</p></td>
<td class="parameter_description"><p>The new <a href="../libinfinity-0.6/InfBrowser.html"><span class="type">InfBrowser</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
</div>
<div class="refsect1">
<a name="InfGtkBrowserModel.see-also"></a><h2>See Also</h2>
<p><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>