File: classGFC_1_1Gtk_1_1TreeSelection.html

package info (click to toggle)
gfcui 2.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,420 kB
  • ctags: 18,023
  • sloc: cpp: 53,967; sh: 31,555; makefile: 1,322; perl: 108
file content (835 lines) | stat: -rw-r--r-- 43,281 bytes parent folder | download | duplicates (3)
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
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>GTK+ Foundation Classes</title>
  <link href="gfc.css" rel="stylesheet" type="text/css">
  <meta content="The GFC Development Team" name="author">
  <meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
 alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
 alt="GFC Logo" src="../images/gfc.png"
 style="width: 207px; height: 92px;"></td>
      <td
 style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
 alt="GFC Title Logo" src="../images/gfc-title.png"
 style="width: 418px; height: 76px;"><br>
      </td>
    </tr>
    <tr>
      <td
 style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
 style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
      </td>
      <td
 style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
 style="font-family: helvetica,arial,sans-serif;"><a
 href="../html/index.html">Main Page</a>&nbsp; |&nbsp; <a
 href="../html/namespaces.html">Namespace List</a>&nbsp; |&nbsp; <a
 href="classes.html">Alphabetical List</a>&nbsp; |&nbsp; <a
 href="../html/annotated.html">Class List</a>&nbsp; |&nbsp; <a
 href="../html/files.html">File List</a></small><br>
      </td>
    </tr>
  </tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>GFC::Gtk::TreeSelection Class Reference</h1>A GtkTreeSelection C++ wrapper class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="treeselection_8hh-source.html">gfc/gtk/treeselection.hh</a>&gt;</code>
<p>
<p>Inheritance diagram for GFC::Gtk::TreeSelection:
<p><center><img src="classGFC_1_1Gtk_1_1TreeSelection.png" usemap="#GFC::Gtk::TreeSelection_map" border="0" alt=""></center>
<map name="GFC::Gtk::TreeSelection_map">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html" alt="GFC::G::Object" shape="rect" coords="0,112,146,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="0,56,146,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="0,0,146,24">
</map>
<a href="classGFC_1_1Gtk_1_1TreeSelection-members.html">List of all members.</a><h2>Signal Prototypes</h2>
<ul>
<li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ChangedSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z990_2">changed_signal</a>
<dl class="el"><dd class="mdescRight">Changed signal (see <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z994_0">sig_changed()</a>).  <a href="#z990_2"></a><br></dl></ul>
<h2>Public Types</h2>
<ul>
<li>typedef sigc::slot&lt; bool,<br>
 <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a> &amp;, const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;,<br>
 bool &gt; <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w0">SelectSlot</a>
<dl class="el"><dd class="mdescRight">Signature of the callback slot used by <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_1">set_select_function()</a> to filter whether or not a row may be selected.  <a href="#w0"></a><br></dl><li>typedef sigc::slot&lt; void,<br>
 <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a> &amp;, const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;,<br>
 const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> &amp; &gt; <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w1">ForeachSlot</a>
<dl class="el"><dd class="mdescRight">Signature of the callback slot used by <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_2">selected_foreach()</a> to map all selected rows.  <a href="#w1"></a><br></dl></ul>
<h2>Public Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="anchor" name="z991_0" doxytag="GFC::Gtk::TreeSelection::~TreeSelection" ></a>
virtual <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z991_0">~TreeSelection</a> ()
<dl class="el"><dd class="mdescRight">Desrtuctor. <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li><a class="anchor" name="z992_0" doxytag="GFC::Gtk::TreeSelection::gtk_tree_selection" ></a>
GtkTreeSelection * <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_0">gtk_tree_selection</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkTreeSelection structure. <br></dl><li><a class="anchor" name="z992_1" doxytag="GFC::Gtk::TreeSelection::operator GtkTreeSelection *" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_1">operator GtkTreeSelection *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts a <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> to a GtkTreeSelection pointer. <br></dl><li><a class="el" href="namespaceGFC_1_1Gtk.html#a336">SelectionMode</a> <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_2">get_mode</a> () const
<dl class="el"><dd class="mdescRight">Gets the selection mode for selection (see <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_0">set_mode()</a>).  <a href="#z992_2"></a><br></dl><li><a class="anchor" name="z992_3" doxytag="GFC::Gtk::TreeSelection::get_tree_view" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1TreeView.html">TreeView</a> * <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_3">get_tree_view</a> () const
<dl class="el"><dd class="mdescRight">Returns the tree view associated with the selection. <br></dl><li><a class="anchor" name="z992_4" doxytag="GFC::Gtk::TreeSelection::any_selected" ></a>
bool <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_4">any_selected</a> () const
<dl class="el"><dd class="mdescRight">Returns true if there are any selected nodes. <br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_5">get_selected</a> (<a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> *iter, <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a> **model=0) const
<dl class="el"><dd class="mdescRight">Sets <em>iter</em> to the currently selected node if selection is set to SELECTION_SINGLE or SELECTION_BROWSE.  <a href="#z992_5"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_6">get_selected_rows</a> (std::vector&lt; <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer</a>&lt; <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &gt; &gt; &amp;rows, <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a> **model=0)
<dl class="el"><dd class="mdescRight">Creates a list of <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> of all selected rows.  <a href="#z992_6"></a><br></dl><li><a class="anchor" name="z992_7" doxytag="GFC::Gtk::TreeSelection::count_selected_rows" ></a>
int <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_7">count_selected_rows</a> () const
<dl class="el"><dd class="mdescRight">Returns the number of rows that have been selected in the tree. <br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_8">path_is_selected</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;path) const
<dl class="el"><dd class="mdescRight">Returns true if the row pointed to by <em>path</em> is currently selected.  <a href="#z992_8"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_9">iter_is_selected</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> &amp;iter) const
<dl class="el"><dd class="mdescRight">Returns true if the row at <em>iter</em> is currently selected.  <a href="#z992_9"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_0">set_mode</a> (<a class="el" href="namespaceGFC_1_1Gtk.html#a336">SelectionMode</a> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html#z121_2">type</a>)
<dl class="el"><dd class="mdescRight">Sets the selection mode of the selection.  <a href="#z993_0"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_1">set_select_function</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w0">SelectSlot</a> &amp;select)
<dl class="el"><dd class="mdescRight">Sets the selection callback slot.  <a href="#z993_1"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_2">selected_foreach</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w1">ForeachSlot</a> &amp;each)
<dl class="el"><dd class="mdescRight">Calls <em>each</em> for each selected node.  <a href="#z993_2"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_3">select_path</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;path)
<dl class="el"><dd class="mdescRight">Select the row at path.  <a href="#z993_3"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_4">unselect_path</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;path)
<dl class="el"><dd class="mdescRight">Unselects the row at path.  <a href="#z993_4"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_5">select_iter</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> &amp;iter)
<dl class="el"><dd class="mdescRight">Selects the specified iterator.  <a href="#z993_5"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_6">unselect_iter</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> &amp;iter)
<dl class="el"><dd class="mdescRight">Unselects the specified iterator.  <a href="#z993_6"></a><br></dl><li><a class="anchor" name="z993_7" doxytag="GFC::Gtk::TreeSelection::select_all" ></a>
void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_7">select_all</a> ()
<dl class="el"><dd class="mdescRight">Selects all the nodes. The selection mode is must be set to SELECTION_MULTIPLE. <br></dl><li><a class="anchor" name="z993_8" doxytag="GFC::Gtk::TreeSelection::unselect_all" ></a>
void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_8">unselect_all</a> ()
<dl class="el"><dd class="mdescRight">Unselects all the nodes. <br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_9">select_range</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;start_path, const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;end_path)
<dl class="el"><dd class="mdescRight">Selects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive.  <a href="#z993_9"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_10">unselect_range</a> (const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;start_path, const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;end_path)
<dl class="el"><dd class="mdescRight">Unselects a range of nodes, determined by start_path and end_path inclusive.  <a href="#z993_10"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Signal Proxies</div></td></tr>
<ul>
<li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">ChangedSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z994_0">sig_changed</a> ()
<dl class="el"><dd class="mdescRight">Connect to the changed_signal; emitted whenever the selection has (possibly) changed.  <a href="#z994_0"></a><br></dl></ul>
<h2>Protected Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z989_0">TreeSelection</a> (GtkTreeSelection *tree_selection, bool <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html#z143_1">owns_reference</a>=true)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> from an existing GtkTreeSelection.  <a href="#z989_0"></a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkTreeSelection C++ wrapper class. 
<p>
<a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> is a helper object that manages the selection for a <a class="el" href="classGFC_1_1Gtk_1_1TreeView.html">TreeView</a> widget. The <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> object is automatically created when a new <a class="el" href="classGFC_1_1Gtk_1_1TreeView.html">TreeView</a> widget is created, and cannot exist independentally of this widget. The primary reason the <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> object exists is for cleanliness of code and API. That is, there is no conceptual reason why all its methods could not be methods on the <a class="el" href="classGFC_1_1Gtk_1_1TreeView.html">TreeView</a> widget.<p>
The <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> object is gotten from a <a class="el" href="classGFC_1_1Gtk_1_1TreeView.html">TreeView</a> by calling <a class="el" href="classGFC_1_1Gtk_1_1TreeView.html#z1010_3">Gtk::TreeView::get_selection()</a>. It can be manipulated to check the selection status of the tree, as well as select and deselect individual rows. Selection is done completely view side. As a result, multiple views of the same model can have completely different selections. Additionally, you cannot change the selection of a row on the model that is not currently displayed by the view without expanding its parents first.<p>
One of the important things to remember when monitoring the selection of a view is that the <em>changed</em> signal is mostly a hint. That is, it may only emit one signal when a range of rows is selected. Additionally, it may on occasion emit a <em>changed</em> signal when nothing has happened (mostly as a result of programmers calling select_row on an already selected row). 
<p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="w1" doxytag="GFC::Gtk::TreeSelection::ForeachSlot" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef sigc::slot&lt;void, <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a>&amp;, const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp;, const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp;&gt; <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w1">GFC::Gtk::TreeSelection::ForeachSlot</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Signature of the callback slot used by <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_2">selected_foreach()</a> to map all selected rows. 
<p>
<b>Example:</b> Method signature for ForeachSlot. <div class="fragment"><pre>             <span class="keywordtype">void</span> method(TreeModel&amp; model, <span class="keyword">const</span> TreePath&amp; path, <span class="keyword">const</span> TreeIter&amp; iter);
            
             <span class="comment">// model: The TreeModel being viewed.</span>
             <span class="comment">// path: The TreePath of a selected row. </span>
             <span class="comment">// iter: A TreeIter pointing to a selected row. </span>
</pre></div>This slot will be called on every selected row in the tree view.     </td>
  </tr>
</table>
<a class="anchor" name="w0" doxytag="GFC::Gtk::TreeSelection::SelectSlot" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef sigc::slot&lt;bool, <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a>&amp;, const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp;, bool&gt; <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w0">GFC::Gtk::TreeSelection::SelectSlot</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Signature of the callback slot used by <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_1">set_select_function()</a> to filter whether or not a row may be selected. 
<p>
<b>Example:</b> Method signature for SelectSlot. <div class="fragment"><pre>             <span class="keywordtype">bool</span> method(TreeModel&amp; model, <span class="keyword">const</span> TreePath&amp; path, <span class="keywordtype">bool</span> path_currently_selected);
            
             <span class="comment">// model: The TreeModel being viewed.</span>
             <span class="comment">// path: The TreePath of the row in question.</span>
             <span class="comment">// path_currently_selected: true if the path is currently selected.</span>
             <span class="comment">// return: true if the selection state of the row can be toggled.</span>
</pre></div>This slot is called whenever a row's state might change. A return value of true indicates to the <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> that it is okay to change the selection.     </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="z989_0" doxytag="GFC::Gtk::TreeSelection::TreeSelection" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::TreeSelection::TreeSelection           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">GtkTreeSelection *&nbsp;</td>
          <td class="mdname" nowrap> <em>tree_selection</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>owns_reference</em> = <code>true</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [explicit, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html">TreeSelection</a> from an existing GtkTreeSelection. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>tree_selection</em>&nbsp;</td><td>A pointer to a GtkTreeSelection. </td></tr>
    <tr><td></td><td valign=top><em>owns_reference</em>&nbsp;</td><td>Set false if the initial reference count is floating, set true if it's not.</td></tr>
  </table>
</dl>
<br>
The <em>tree_selection</em> can be a newly created GtkTreeSelection or an existing GtkTreeSelection (see <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html#z68_0">G::Object::Object</a>).     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z992_2" doxytag="GFC::Gtk::TreeSelection::get_mode" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceGFC_1_1Gtk.html#a336">SelectionMode</a> GFC::Gtk::TreeSelection::get_mode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the selection mode for selection (see <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z993_0">set_mode()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The current selection mode. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z992_5" doxytag="GFC::Gtk::TreeSelection::get_selected" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::TreeSelection::get_selected           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>iter</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a> **&nbsp;</td>
          <td class="mdname" nowrap> <em>model</em> = <code>0</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets <em>iter</em> to the currently selected node if selection is set to SELECTION_SINGLE or SELECTION_BROWSE. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>iter</em>&nbsp;</td><td>The <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>, or null. </td></tr>
    <tr><td></td><td valign=top><em>model</em>&nbsp;</td><td>A pointer to set to the <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a>, or null. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if there is a selected node.</dd></dl>
<br>
<em>iter</em> may be null if you just want to test if selection has any selected nodes. <em>model</em> is filled with the current model as a convenience. This method will not work if you use the selection mode SELECTION_MULTIPLE.     </td>
  </tr>
</table>
<a class="anchor" name="z992_6" doxytag="GFC::Gtk::TreeSelection::get_selected_rows" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::TreeSelection::get_selected_rows           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::vector&lt; <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer</a>&lt; <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &gt; &gt; &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>rows</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a> **&nbsp;</td>
          <td class="mdname" nowrap> <em>model</em> = <code>0</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a list of <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> of all selected rows. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>rows</em>&nbsp;</td><td>A reference to a vector of Pointer&lt;TreePath&gt; to hold the list of selected rows. </td></tr>
    <tr><td></td><td valign=top><em>model</em>&nbsp;</td><td>A pointer to set to the <a class="el" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a>, or null. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the vector is not empty.</dd></dl>
<br>
Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of TreeRowReferences. To do this, you can use the constructor TreeRowReference(G::Object&amp;, TreeModel&amp;, const TreePath&amp;).     </td>
  </tr>
</table>
<a class="anchor" name="z992_9" doxytag="GFC::Gtk::TreeSelection::iter_is_selected" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::TreeSelection::iter_is_selected           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>iter</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the row at <em>iter</em> is currently selected. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>iter</em>&nbsp;</td><td>A valid <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z992_8" doxytag="GFC::Gtk::TreeSelection::path_is_selected" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::TreeSelection::path_is_selected           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the row pointed to by <em>path</em> is currently selected. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>path</em>&nbsp;</td><td>A <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> to check selection on. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if <em>path</em> is selected.</dd></dl>
<br>
If <em>path</em> does not point to a valid location, false is returned.     </td>
  </tr>
</table>
<a class="anchor" name="z993_5" doxytag="GFC::Gtk::TreeSelection::select_iter" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::select_iter           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>iter</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Selects the specified iterator. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>iter</em>&nbsp;</td><td>The <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> to be selected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z993_3" doxytag="GFC::Gtk::TreeSelection::select_path" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::select_path           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Select the row at path. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>path</em>&nbsp;</td><td>The <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> to be selected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z993_9" doxytag="GFC::Gtk::TreeSelection::select_range" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::select_range           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>start_path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>end_path</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Selects a range of nodes, determined by <em>start_path</em> and <em>end_path</em> inclusive. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>start_path</em>&nbsp;</td><td>The initial node of the range. </td></tr>
    <tr><td></td><td valign=top><em>end_path</em>&nbsp;</td><td>The final node of the range. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z993_2" doxytag="GFC::Gtk::TreeSelection::selected_foreach" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::selected_foreach           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w1">ForeachSlot</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>each</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Calls <em>each</em> for each selected node. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>each</em>&nbsp;</td><td>The slot to call for each selected node.</td></tr>
  </table>
</dl>
<br>
Note that you cannot modify the tree or selection from within this method. As a result, <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z992_6">get_selected_rows()</a> might be more useful.     </td>
  </tr>
</table>
<a class="anchor" name="z993_0" doxytag="GFC::Gtk::TreeSelection::set_mode" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::set_mode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceGFC_1_1Gtk.html#a336">SelectionMode</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>type</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the selection mode of the selection. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>type</em>&nbsp;</td><td>The selection mode.</td></tr>
  </table>
</dl>
<br>
If the previous type was SELECTION_MULTIPLE, then the anchor is kept selected, if it was previously selected.     </td>
  </tr>
</table>
<a class="anchor" name="z993_1" doxytag="GFC::Gtk::TreeSelection::set_select_function" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::set_select_function           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#w0">SelectSlot</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>select</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the selection callback slot. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>select</em>&nbsp;</td><td>The selection slot to call.</td></tr>
  </table>
</dl>
<br>
If set, this method is called before any node is selected or unselected, giving some control over which nodes are selected. The selection slot should return <em>true</em> if the state of the node may be toggled, and <em>false</em> if the state of the node should be left unchanged.     </td>
  </tr>
</table>
<a class="anchor" name="z994_0" doxytag="GFC::Gtk::TreeSelection::sig_changed" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">ChangedSignalProxy</a> GFC::Gtk::TreeSelection::sig_changed           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Connect to the changed_signal; emitted whenever the selection has (possibly) changed. 
<p>
Please note that this signal is mostly a hint. It may only be emitted once when a range of rows are selected, and it may occasionally be emitted when nothing has happened.     </td>
  </tr>
</table>
<a class="anchor" name="z993_6" doxytag="GFC::Gtk::TreeSelection::unselect_iter" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::unselect_iter           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>iter</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unselects the specified iterator. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>iter</em>&nbsp;</td><td>The <a class="el" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> to be unselected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z993_4" doxytag="GFC::Gtk::TreeSelection::unselect_path" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::unselect_path           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unselects the row at path. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>path</em>&nbsp;</td><td>The <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> to be unselected. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z993_10" doxytag="GFC::Gtk::TreeSelection::unselect_range" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::TreeSelection::unselect_range           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>start_path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>end_path</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unselects a range of nodes, determined by start_path and end_path inclusive. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>start_path</em>&nbsp;</td><td>The initial node of the range. </td></tr>
    <tr><td></td><td valign=top><em>end_path</em>&nbsp;</td><td>The final node of the range. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="z990_2" doxytag="GFC::Gtk::TreeSelection::changed_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">ChangedSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z990_2">GFC::Gtk::TreeSelection::changed_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Changed signal (see <a class="el" href="classGFC_1_1Gtk_1_1TreeSelection.html#z994_0">sig_changed()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function();
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="treeselection_8hh-source.html">treeselection.hh</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:44 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>