File: classGtk_1_1TreeSortable.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (798 lines) | stat: -rw-r--r-- 48,613 bytes parent folder | download
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::TreeSortable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1TreeSortable.html">TreeSortable</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::TreeSortable Class Reference<br/>
<small>
[<a class="el" href="group__TreeView.html">TreeView Classes</a>]</small>
</h1><!-- doxytag: class="Gtk::TreeSortable" --><!-- doxytag: inherits="Glib::Interface" -->
<p>Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html">Glib::Interface</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1ListStore.html">Gtk::ListStore</a>, <a class="el" href="classGtk_1_1TreeModelSort.html">Gtk::TreeModelSort</a>, and <a class="el" href="classGtk_1_1TreeStore.html">Gtk::TreeStore</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::TreeSortable:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1TreeSortable__coll__graph.png" border="0" usemap="#Gtk_1_1TreeSortable_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1TreeSortable_coll__map" id="Gtk_1_1TreeSortable_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="15,160,119,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="7,83,127,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="13,5,120,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1TreeSortable-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum&#160;</td><td class="memItemRight" valign="bottom">{ <br/>
&#160;&#160;<a class="el" href="classGtk_1_1TreeSortable.html#a4a8438774fb78456b1f3cddb8115d939a1f2659275b72f896314ec041cd75f1eb">DEFAULT_SORT_COLUMN_ID</a> = -1, <br/>
&#160;&#160;<a class="el" href="classGtk_1_1TreeSortable.html#a4a8438774fb78456b1f3cddb8115d939a829bad43a1d6ce9e9bb97ab9523b03ad">DEFAULT_UNSORTED_COLUMN_ID</a> = -2
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; int, const <br class="typebreak"/>
<a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeModel::iterator</a> <br class="typebreak"/>
&amp;, const <br class="typebreak"/>
<a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeModel::iterator</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#abc46c35265edce84cfb5ba8e807a0921">SlotCompare</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This callback should return -1 if a compares before b, 0 if they compare equal, 1 if a compares after b. <a href="#abc46c35265edce84cfb5ba8e807a0921"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#abf88fb3fa902ac09ee6aa491c194e9e1">~TreeSortable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkTreeSortable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a7c49843a1adf9e7bb1b7b54705bd301d">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a7c49843a1adf9e7bb1b7b54705bd301d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkTreeSortable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#af2342a4e67cb1b936cc8cd64a25b0118">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#af2342a4e67cb1b936cc8cd64a25b0118"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#ac5ac45039b7e1f4698976d123ff22ed2">get_sort_column_id</a> (int&amp; sort_column_id, <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>&amp; order) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in <em>sort_column_id</em> and <em>order</em> with the current sort column and the order. <a href="#ac5ac45039b7e1f4698976d123ff22ed2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#ad4a0c6be13062c64599be8ed73c1e64e">set_sort_column</a> (const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp; sort_column_id, <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a> order)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current sort column to be <em>sort_column_id</em>. <a href="#ad4a0c6be13062c64599be8ed73c1e64e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a01ce9fab2e47887558611a2654f44a7a">set_sort_column</a> (int sort_column_id, <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a> order)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current sort column to be <em>sort_column_id</em>. <a href="#a01ce9fab2e47887558611a2654f44a7a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#aa77c110372c63404e57f647d4ee71cc2">set_sort_column_id</a> (const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp; sort_column_id, <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a> order)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a2e2fc64a1d14b7edfddbc82ce20577fc">set_sort_column_id</a> (int sort_column_id, <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a> order)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a3a6454bd0a285324c71edb73e403cb1c">set_sort_func</a> (const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp; sort_column, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotCompare</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the comparison function used when sorting a certain column. <a href="#a3a6454bd0a285324c71edb73e403cb1c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a0dfc1039a36ed6bb5a6ad3adda030ad6">set_sort_func</a> (int sort_column_id, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotCompare</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the comparison function used when sorting a certain column. <a href="#a0dfc1039a36ed6bb5a6ad3adda030ad6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#aa831da01a9e3b7c0dbf3b84be934bf4b">set_default_sort_func</a> (const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotCompare</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default comparison function used when sorting. <a href="#aa831da01a9e3b7c0dbf3b84be934bf4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#ac05f7caf5413c4b618a6f605de504363">unset_default_sort_func</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default comparison function used when sorting. <a href="#ac05f7caf5413c4b618a6f605de504363"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a05b460f3284eb8e61efe6df81c11f628">has_default_sort_func</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the model has a default sort function. <a href="#a05b460f3284eb8e61efe6df81c11f628"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a17cecb3ed2dae413faefab957f1dac8e">sort_column_changed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Emits a <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01163.html#ga152148508b4a39e15ffbfbc987ab653a">Gtk::TreeSortable::sort</a>-column-changed signal on <em>sortable</em>. <a href="#a17cecb3ed2dae413faefab957f1dac8e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#ad6cc1485ecbf796b8e2b042c83b66988">signal_sort_column_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#aaa176c5533e23672cd608418244657e2">add_interface</a> (GType gtype_implementer)</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a68a2e0fa2fedb2dfc901d48dc7d3fc84">get_sort_column_id_vfunc</a> (int* sort_column_id, <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>* order) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a4f056e4b69e93516ef76ca73ecdc7cf6">set_sort_column_id_vfunc</a> (int sort_column_id, <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a> order)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a6633115a0b052b654abf5508d103808c">set_sort_func_vfunc</a> (int sort_column_id, GtkTreeIterCompareFunc func, void* data, GDestroyNotify destroy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#aecb9baf38a85890e90b0daacfac560da">set_default_sort_func_vfunc</a> (GtkTreeIterCompareFunc func, void* data, GDestroyNotify destroy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a46e15163d13e59e7c2bf9464b0440921">has_default_sort_func_vfunc</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#ab9423c8e0a1350aa1f263d16f3bd90a7">sort_column_changed_vfunc</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a6959841c149dd99e9140fb3756fb8e9a">on_sort_column_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeSortable.html">Gtk::TreeSortable</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TreeSortable.html#a276286ba7fdf96acb1af36b5c58095b6">wrap</a> (GtkTreeSortable* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a276286ba7fdf96acb1af36b5c58095b6"></a><br/></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="abc46c35265edce84cfb5ba8e807a0921"></a><!-- doxytag: member="Gtk::TreeSortable::SlotCompare" ref="abc46c35265edce84cfb5ba8e807a0921" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;int, const <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeModel::iterator</a>&amp;, const <a class="el" href="classGtk_1_1TreeIter.html">Gtk::TreeModel::iterator</a>&amp;&gt; <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">Gtk::TreeSortable::SlotCompare</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This callback should return -1 if a compares before b, 0 if they compare equal, 1 if a compares after b. </p>
<p>For instance, int on_sort_compare(const Gtk::TreeModel::iterator&amp; a, const Gtk::TreeModel::iterator&amp; b); </p>

</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a4a8438774fb78456b1f3cddb8115d939"></a><!-- doxytag: member="Gtk::TreeSortable::@2" ref="a4a8438774fb78456b1f3cddb8115d939" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a4a8438774fb78456b1f3cddb8115d939a1f2659275b72f896314ec041cd75f1eb"></a><!-- doxytag: member="DEFAULT_SORT_COLUMN_ID" ref="a4a8438774fb78456b1f3cddb8115d939a1f2659275b72f896314ec041cd75f1eb" args="" -->DEFAULT_SORT_COLUMN_ID</em>&#160;</td><td>
<p>See <a class="el" href="classGtk_1_1TreeSortable.html#aa831da01a9e3b7c0dbf3b84be934bf4b" title="Sets the default comparison function used when sorting.">set_default_sort_func()</a> and <a class="el" href="classGtk_1_1TreeSortable.html#ad4a0c6be13062c64599be8ed73c1e64e" title="Sets the current sort column to be sort_column_id.">set_sort_column()</a>. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a4a8438774fb78456b1f3cddb8115d939a829bad43a1d6ce9e9bb97ab9523b03ad"></a><!-- doxytag: member="DEFAULT_UNSORTED_COLUMN_ID" ref="a4a8438774fb78456b1f3cddb8115d939a829bad43a1d6ce9e9bb97ab9523b03ad" args="" -->DEFAULT_UNSORTED_COLUMN_ID</em>&#160;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abf88fb3fa902ac09ee6aa491c194e9e1"></a><!-- doxytag: member="Gtk::TreeSortable::~TreeSortable" ref="abf88fb3fa902ac09ee6aa491c194e9e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::TreeSortable::~TreeSortable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaa176c5533e23672cd608418244657e2"></a><!-- doxytag: member="Gtk::TreeSortable::add_interface" ref="aaa176c5533e23672cd608418244657e2" args="(GType gtype_implementer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::TreeSortable::add_interface </td>
          <td>(</td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>gtype_implementer</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac5ac45039b7e1f4698976d123ff22ed2"></a><!-- doxytag: member="Gtk::TreeSortable::get_sort_column_id" ref="ac5ac45039b7e1f4698976d123ff22ed2" args="(int &amp;sort_column_id, SortType &amp;order) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::TreeSortable::get_sort_column_id </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>&amp;&#160;</td>
          <td class="paramname"> <em>order</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fills in <em>sort_column_id</em> and <em>order</em> with the current sort column and the order. </p>
<p>It returns <code>true</code> unless the <em>sort_column_id</em> is Gtk::TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID or Gtk::TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sort_column_id</em>&#160;</td><td>The sort column id to be filled in. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>order</em>&#160;</td><td>The <a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">Gtk::SortType</a> to be filled in. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the sort column is not one of the special sort column ids. </dd></dl>

</div>
</div>
<a class="anchor" id="a68a2e0fa2fedb2dfc901d48dc7d3fc84"></a><!-- doxytag: member="Gtk::TreeSortable::get_sort_column_id_vfunc" ref="a68a2e0fa2fedb2dfc901d48dc7d3fc84" args="(int *sort_column_id, SortType *order) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Gtk::TreeSortable::get_sort_column_id_vfunc </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>*&#160;</td>
          <td class="paramname"> <em>order</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af2342a4e67cb1b936cc8cd64a25b0118"></a><!-- doxytag: member="Gtk::TreeSortable::gobj" ref="af2342a4e67cb1b936cc8cd64a25b0118" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkTreeSortable* Gtk::TreeSortable::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html#a70a443071a69d3372c2cdd7128a91ed1">Glib::Interface</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1ListStore.html#a8d0844616280900206a77aaec2c546d7">Gtk::ListStore</a>, <a class="el" href="classGtk_1_1TreeModelSort.html#a46201ea3130b92a85b2cf8d839f59659">Gtk::TreeModelSort</a>, and <a class="el" href="classGtk_1_1TreeStore.html#adecedf7e9f77e9aa8e7eb44990fd8a74">Gtk::TreeStore</a>.</p>

</div>
</div>
<a class="anchor" id="a7c49843a1adf9e7bb1b7b54705bd301d"></a><!-- doxytag: member="Gtk::TreeSortable::gobj" ref="a7c49843a1adf9e7bb1b7b54705bd301d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkTreeSortable* Gtk::TreeSortable::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html#a969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1ListStore.html#a5086758716b9f34a5219b1387aebe59c">Gtk::ListStore</a>, <a class="el" href="classGtk_1_1TreeModelSort.html#a29ab164c823754b5a6c9a8a9dcb8d393">Gtk::TreeModelSort</a>, and <a class="el" href="classGtk_1_1TreeStore.html#a1f6405d80c3b1e4a9672a69f6c13f6f6">Gtk::TreeStore</a>.</p>

</div>
</div>
<a class="anchor" id="a05b460f3284eb8e61efe6df81c11f628"></a><!-- doxytag: member="Gtk::TreeSortable::has_default_sort_func" ref="a05b460f3284eb8e61efe6df81c11f628" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::TreeSortable::has_default_sort_func </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns <code>true</code> if the model has a default sort function. </p>
<p>This is used primarily by GtkTreeViewColumns in order to determine if a model can go back to the default state, or not. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code>, if the model has a default sort function. </dd></dl>

</div>
</div>
<a class="anchor" id="a46e15163d13e59e7c2bf9464b0440921"></a><!-- doxytag: member="Gtk::TreeSortable::has_default_sort_func_vfunc" ref="a46e15163d13e59e7c2bf9464b0440921" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Gtk::TreeSortable::has_default_sort_func_vfunc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6959841c149dd99e9140fb3756fb8e9a"></a><!-- doxytag: member="Gtk::TreeSortable::on_sort_column_changed" ref="a6959841c149dd99e9140fb3756fb8e9a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::TreeSortable::on_sort_column_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa831da01a9e3b7c0dbf3b84be934bf4b"></a><!-- doxytag: member="Gtk::TreeSortable::set_default_sort_func" ref="aa831da01a9e3b7c0dbf3b84be934bf4b" args="(const SlotCompare &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::set_default_sort_func </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotCompare</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the default comparison function used when sorting. </p>
<p>If the current sort column id of sortable is DEFAULT_SORT_COLUMN_ID, then the model will sort using this function. See also <a class="el" href="classGtk_1_1TreeSortable.html#ac05f7caf5413c4b618a6f605de504363" title="Sets the default comparison function used when sorting.">unset_default_sort_func()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The sorting function </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aecb9baf38a85890e90b0daacfac560da"></a><!-- doxytag: member="Gtk::TreeSortable::set_default_sort_func_vfunc" ref="aecb9baf38a85890e90b0daacfac560da" args="(GtkTreeIterCompareFunc func, void *data, GDestroyNotify destroy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::TreeSortable::set_default_sort_func_vfunc </td>
          <td>(</td>
          <td class="paramtype">GtkTreeIterCompareFunc&#160;</td>
          <td class="paramname"> <em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GDestroyNotify&#160;</td>
          <td class="paramname"> <em>destroy</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a01ce9fab2e47887558611a2654f44a7a"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_column" ref="a01ce9fab2e47887558611a2654f44a7a" args="(int sort_column_id, SortType order)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::set_sort_column </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>&#160;</td>
          <td class="paramname"> <em>order</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the current sort column to be <em>sort_column_id</em>. </p>
<p>The <em>sortable</em> will resort itself to reflect this change, after emitting a <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01163.html#ga152148508b4a39e15ffbfbc987ab653a">Gtk::TreeSortable::sort</a>-column-changed signal. <em>sortable</em> may either be a regular column id, or one of the following special values: &lt;variablelist&gt; &lt;varlistentry&gt; <b>Gtk::TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID</b> &lt;listitem&gt;the default sort function will be used, if it is set&lt;/listitem&gt; &lt;/varlistentry&gt; &lt;varlistentry&gt; <b>Gtk::TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID</b> &lt;listitem&gt;no sorting will occur&lt;/listitem&gt; &lt;/varlistentry&gt; &lt;/variablelist&gt; </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sort_column_id</em>&#160;</td><td>The sort column id to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>order</em>&#160;</td><td>The sort order of the column. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad4a0c6be13062c64599be8ed73c1e64e"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_column" ref="ad4a0c6be13062c64599be8ed73c1e64e" args="(const TreeModelColumnBase &amp;sort_column_id, SortType order)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::set_sort_column </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp;&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>&#160;</td>
          <td class="paramname"> <em>order</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the current sort column to be <em>sort_column_id</em>. </p>
<p>The <em>sortable</em> will resort itself to reflect this change, after emitting a <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01163.html#ga152148508b4a39e15ffbfbc987ab653a">Gtk::TreeSortable::sort</a>-column-changed signal. <em>sortable</em> may either be a regular column id, or one of the following special values: &lt;variablelist&gt; &lt;varlistentry&gt; <b>Gtk::TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID</b> &lt;listitem&gt;the default sort function will be used, if it is set&lt;/listitem&gt; &lt;/varlistentry&gt; &lt;varlistentry&gt; <b>Gtk::TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID</b> &lt;listitem&gt;no sorting will occur&lt;/listitem&gt; &lt;/varlistentry&gt; &lt;/variablelist&gt; </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sort_column_id</em>&#160;</td><td>The sort column id to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>order</em>&#160;</td><td>The sort order of the column. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2e2fc64a1d14b7edfddbc82ce20577fc"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_column_id" ref="a2e2fc64a1d14b7edfddbc82ce20577fc" args="(int sort_column_id, SortType order)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::set_sort_column_id </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>&#160;</td>
          <td class="paramname"> <em>order</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000078">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1TreeSortable.html#ad4a0c6be13062c64599be8ed73c1e64e" title="Sets the current sort column to be sort_column_id.">set_sort_column()</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="aa77c110372c63404e57f647d4ee71cc2"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_column_id" ref="aa77c110372c63404e57f647d4ee71cc2" args="(const TreeModelColumnBase &amp;sort_column_id, SortType order)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::set_sort_column_id </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp;&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>&#160;</td>
          <td class="paramname"> <em>order</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000077">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGtk_1_1TreeSortable.html#ad4a0c6be13062c64599be8ed73c1e64e" title="Sets the current sort column to be sort_column_id.">set_sort_column()</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a4f056e4b69e93516ef76ca73ecdc7cf6"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_column_id_vfunc" ref="a4f056e4b69e93516ef76ca73ecdc7cf6" args="(int sort_column_id, SortType order)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::TreeSortable::set_sort_column_id_vfunc </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga6052510d27fae00eed4aaa3640ff9fbe">SortType</a>&#160;</td>
          <td class="paramname"> <em>order</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0dfc1039a36ed6bb5a6ad3adda030ad6"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_func" ref="a0dfc1039a36ed6bb5a6ad3adda030ad6" args="(int sort_column_id, const SlotCompare &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::set_sort_func </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotCompare</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the comparison function used when sorting a certain column. </p>
<p>If the current sort column id is the same as <em>sort_column_id</em>, then the model will sort using this function. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sort_column_id</em>&#160;</td><td>the sort column id to set the function for </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The sorting slot callback. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3a6454bd0a285324c71edb73e403cb1c"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_func" ref="a3a6454bd0a285324c71edb73e403cb1c" args="(const TreeModelColumnBase &amp;sort_column, const SlotCompare &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::set_sort_func </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1TreeModelColumnBase.html">TreeModelColumnBase</a>&amp;&#160;</td>
          <td class="paramname"> <em>sort_column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">SlotCompare</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the comparison function used when sorting a certain column. </p>
<p>If the current sort column is the same as <em>sort_column</em>, then the model will sort using this function. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sort_column</em>&#160;</td><td>the sort column to set the function for </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The sorting slot callback. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6633115a0b052b654abf5508d103808c"></a><!-- doxytag: member="Gtk::TreeSortable::set_sort_func_vfunc" ref="a6633115a0b052b654abf5508d103808c" args="(int sort_column_id, GtkTreeIterCompareFunc func, void *data, GDestroyNotify destroy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::TreeSortable::set_sort_func_vfunc </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>sort_column_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkTreeIterCompareFunc&#160;</td>
          <td class="paramname"> <em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GDestroyNotify&#160;</td>
          <td class="paramname"> <em>destroy</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad6cc1485ecbf796b8e2b042c83b66988"></a><!-- doxytag: member="Gtk::TreeSortable::signal_sort_column_changed" ref="ad6cc1485ecbf796b8e2b042c83b66988" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::TreeSortable::signal_sort_column_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_sort_column_changed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a17cecb3ed2dae413faefab957f1dac8e"></a><!-- doxytag: member="Gtk::TreeSortable::sort_column_changed" ref="a17cecb3ed2dae413faefab957f1dac8e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::sort_column_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emits a <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01163.html#ga152148508b4a39e15ffbfbc987ab653a">Gtk::TreeSortable::sort</a>-column-changed signal on <em>sortable</em>. </p>

</div>
</div>
<a class="anchor" id="ab9423c8e0a1350aa1f263d16f3bd90a7"></a><!-- doxytag: member="Gtk::TreeSortable::sort_column_changed_vfunc" ref="ab9423c8e0a1350aa1f263d16f3bd90a7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::TreeSortable::sort_column_changed_vfunc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac05f7caf5413c4b618a6f605de504363"></a><!-- doxytag: member="Gtk::TreeSortable::unset_default_sort_func" ref="ac05f7caf5413c4b618a6f605de504363" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::TreeSortable::unset_default_sort_func </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the default comparison function used when sorting. </p>
<p>See <a class="el" href="classGtk_1_1TreeSortable.html#aa831da01a9e3b7c0dbf3b84be934bf4b" title="Sets the default comparison function used when sorting.">set_default_sort_func()</a>.</p>
<p>After calling this method there will be no default comparison function. This means that once the model has been sorted, it can't go back to the default state. In this case, when the current sort column id of sortable is DEFAULT_SORT_COLUMN_ID, the model will be unsorted. </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a276286ba7fdf96acb1af36b5c58095b6"></a><!-- doxytag: member="Gtk::TreeSortable::wrap" ref="a276286ba7fdf96acb1af36b5c58095b6" args="(GtkTreeSortable *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1TreeSortable.html">Gtk::TreeSortable</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkTreeSortable *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/treesortable.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:06 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>