File: treemodel_8hh-source.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 (360 lines) | stat: -rw-r--r-- 35,657 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
<!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>treemodel.hh</h1><a href="treemodel_8hh.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/*  GFC-UI: GTK+ Foundation Classes (User Interface Library)</span>
00002 <span class="comment"> *  Copyright (C) 2002-2004 The GFC Development Team.</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> *  This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> *  it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> *  the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> *  (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> *  This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> *  but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
00012 <span class="comment"> *  GNU Library General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> *  You should have received a copy of the GNU Library General Public License</span>
00015 <span class="comment"> *  along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> */</span>
00018  
00025 
00026 <span class="preprocessor">#ifndef GFC_GTK_TREE_MODEL_HH</span>
00027 <span class="preprocessor"></span><span class="preprocessor">#define GFC_GTK_TREE_MODEL_HH</span>
00028 <span class="preprocessor"></span>
00029 <span class="preprocessor">#ifndef GFC_G_TYPE_HH</span>
00030 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="codeRef" doxygen="gfccore.tag:" href="type_8hh.html">gfc/glib/type.hh</a>&gt;</span>
00031 <span class="preprocessor">#endif</span>
00032 <span class="preprocessor"></span>
00033 <span class="preprocessor">#ifndef GFC_G_VALUE_HH</span>
00034 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="codeRef" doxygen="gfccore.tag:" href="value_8hh.html">gfc/glib/value.hh</a>&gt;</span>
00035 <span class="preprocessor">#endif</span>
00036 <span class="preprocessor"></span>
00037 <span class="preprocessor">#ifndef __GTK_TREE_MODEL_H__</span>
00038 <span class="preprocessor"></span><span class="preprocessor">#include &lt;gtk/gtktreemodel.h&gt;</span>
00039 <span class="preprocessor">#endif</span>
00040 <span class="preprocessor"></span>
00041 <span class="preprocessor">#ifndef _CPP_VECTOR</span>
00042 <span class="preprocessor"></span><span class="preprocessor">#include &lt;vector&gt;</span>
00043 <span class="preprocessor">#endif</span>
00044 <span class="preprocessor"></span>
00045 <span class="keyword">namespace </span>GFC {
00046 
00047 <span class="keyword">namespace </span>G {
00048 <span class="keyword">class </span>Object;
00049 <span class="keyword">class </span>Value;
00050 }
00051 
00052 <span class="keyword">namespace </span>Gtk {
00053         
00054 <span class="keyword">class </span>SelectionData;
00055 
00061 
<a name="l00062"></a><a class="code" href="namespaceGFC_1_1Gtk.html#a362">00062</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Gtk.html#a362">TreeModelFlags</a>
00063 {
00064         <a class="code" href="namespaceGFC_1_1Gtk.html#a362a250">TREE_MODEL_ITERS_PERSIST</a> = GTK_TREE_MODEL_ITERS_PERSIST,
00066         
00067         <a class="code" href="namespaceGFC_1_1Gtk.html#a362a251">TREE_MODEL_LIST_ONLY</a> = GTK_TREE_MODEL_LIST_ONLY
00069 };
00070 
00072 
<a name="l00073"></a><a class="code" href="namespaceGFC_1_1Gtk.html#a249">00073</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespaceGFC_1_1Gtk.html#a249">TreeModelFlagsField</a>;
00074 
00084 
<a name="l00085"></a><a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">00085</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a> : <span class="keyword">public</span> G::Boxed
00086 {
00087 <span class="keyword">public</span>:
00090 
00091         <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_0">TreePath</a>();
00093 
00094         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_0">TreePath</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *path);
00095         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_0">TreePath</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&amp; path);
00103 
00104         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_0">TreePath</a>(<span class="keywordtype">int</span> first_index, ...);
00108         
00109         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_0">TreePath</a>(GtkTreePath *path);
00117 
00118         <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_0">TreePath</a>(GtkTreePath *path, <span class="keywordtype">bool</span> copy);
00128 
00129         <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_0">TreePath</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; src);
00132 
00133         <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_7">~TreePath</a>();
00135 
00136         <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z966_8">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; src);
00139 
00143 
00144         GtkTreePath* <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_0">gtk_tree_path</a>() <span class="keyword">const</span>;
00146         
00147         <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_1">operator GtkTreePath* </a>() <span class="keyword">const</span>;
00149         
00150         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_2">to_string</a>() <span class="keyword">const</span>;
00154         
00155         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_3">get_depth</a>() <span class="keyword">const</span>;
00157 
00158         std::vector&lt;int&gt; <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_4">get_indices</a>() <span class="keyword">const</span>;
00161         
00162         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_5">compare</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; other) <span class="keyword">const</span>;
00170 
00171         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_6">is_ancestor</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; descendant) <span class="keyword">const</span>;
00175                 
00176         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_7">is_descendant</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; ancestor) <span class="keyword">const</span>;
00180                 
00181         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_8">operator==</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; other) <span class="keyword">const</span>;
00183         
00184         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_9">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; other) <span class="keyword">const</span>;
00186         
00187         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_10">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; other) <span class="keyword">const</span>;
00189         
00190         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z967_11">operator&gt;</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; other) <span class="keyword">const</span>;
00192         
00196 
00197         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z968_0">append_index</a>(<span class="keywordtype">int</span> index);
00200                 
00201         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z968_1">prepend_index</a>(<span class="keywordtype">int</span> index);
00204                 
00205         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z968_2">next</a>();
00207                 
00208         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z968_3">prev</a>();
00211                 
00212         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z968_4">up</a>();
00215                 
00216         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html#z968_5">down</a>();
00218         
00220 };
00221 
00232 
<a name="l00233"></a><a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">00233</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> : <span class="keyword">public</span> G::Boxed
00234 {
00235 <span class="keyword">public</span>:
00238 
00239         <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z969_0">TreeIter</a>();
00241 
00242         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z969_0">TreeIter</a>(GtkTreeIter *iter);
00250 
00251         <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z969_0">TreeIter</a>(GtkTreeIter *iter, <span class="keywordtype">bool</span> copy);
00261 
00262         <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z969_0">TreeIter</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; src);
00265 
00266         <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z969_4">~TreeIter</a>();
00268 
00269         <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z969_5">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; src);
00272         
00276 
00277         GtkTreeIter* <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z970_0">gtk_tree_iter</a>() <span class="keyword">const</span>;
00279 
00280         <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html#z970_1">operator GtkTreeIter* </a>() <span class="keyword">const</span>;
00282 
00284 };
00285 
00393 
<a name="l00394"></a><a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html">00394</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> G::TypeInterface
00395 {
00396 <span class="keyword">protected</span>:
00399 
00400         <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z971_0">TreeModel</a>();
00402         
00403         <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z971_1">~TreeModel</a>() = 0;
00405         
00409 
00410         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">G::Signal&lt;void, TreePath&amp;, TreeIter&amp;&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowChangedSignalType</a>;
00411         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">G::SignalProxy&lt;TypeInstance, RowChangedSignalType&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowChangedSignalProxy</a>;
00412         <span class="keyword">static</span> <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowChangedSignalType</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z972_10">row_changed_signal</a>;
00419 
00420         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">G::Signal&lt;void, TreePath&amp;, TreeIter&amp;&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowInsertedSignalType</a>;
00421         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">G::SignalProxy&lt;TypeInstance, RowInsertedSignalType&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowInsertedSignalProxy</a>;
00422         <span class="keyword">static</span> <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowInsertedSignalType</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z972_11">row_inserted_signal</a>;
00429 
00430         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">G::Signal&lt;void, TreePath&amp;, TreeIter&amp;&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowHasChildToggledSignalType</a>;
00431         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">G::SignalProxy&lt;TypeInstance, RowHasChildToggledSignalType&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowHasChildToggledSignalProxy</a>;
00432         <span class="keyword">static</span> <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowHasChildToggledSignalType</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z972_12">row_has_child_toggled_signal</a>;
00439 
00440         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">G::Signal&lt;void, TreePath&amp;&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowDeletedSignalType</a>;
00441         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">G::SignalProxy&lt;TypeInstance, RowDeletedSignalType&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowDeletedSignalProxy</a>;
00442         <span class="keyword">static</span> <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowDeletedSignalType</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z972_13">row_deleted_signal</a>;
00448 
00449         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">G::Signal&lt;void, TreePath&amp;, TreeIter&amp;, int*&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowsReorderedSignalType</a>;
00450         <span class="keyword">typedef</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">G::SignalProxy&lt;TypeInstance, RowsReorderedSignalType&gt;</a> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowsReorderedSignalProxy</a>;
00451         <span class="keyword">static</span> <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RowsReorderedSignalType</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z972_14">rows_reordered_signal</a>;
00459         
00461 
00462 <span class="keyword">public</span>:
00463 
00464         <span class="keyword">typedef</span> sigc::slot&lt;bool, const TreePath&amp;, const TreeIter&amp;&gt; <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#w0">ForeachSlot</a>;
00476 
00479 
00480         GtkTreeModel* <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_0">gtk_tree_model</a>() <span class="keyword">const</span>;
00482 
00483         <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_1">operator GtkTreeModel* </a>() <span class="keyword">const</span>;
00485 
00486         <a class="code" href="namespaceGFC_1_1Gtk.html#a249">TreeModelFlagsField</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_2">get_flags</a>() <span class="keyword">const</span>;
00492 
00493         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_3">get_n_columns</a>() <span class="keyword">const</span>;
00495 
00496         GType <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_4">get_column_type</a>(<span class="keywordtype">int</span> index) <span class="keyword">const</span>;
00500 
00501         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_5">get_iter</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path) <span class="keyword">const</span>;
00506 
00507         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_5">get_iter</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keyword">const</span> <span class="keywordtype">char</span> *path) <span class="keyword">const</span>;
00508         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_5">get_iter</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&amp; path) <span class="keyword">const</span>;
00514          
00515         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_8">get_string_from_iter</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter) <span class="keyword">const</span>;
00522 
00523         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_9">get_iter_first</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter) <span class="keyword">const</span>;
00527         
00528         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer&lt;TreePath&gt;</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_10">get_path</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter) <span class="keyword">const</span>;
00532 
00533         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_11">get_value</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> column, <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Value.html">G::Value</a>&amp; value) <span class="keyword">const</span>;
00538 
00539         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_11">get_value</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> column) <span class="keyword">const</span>;
00544 
00545         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_11">get_value</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> column, <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>&amp; str) <span class="keyword">const</span>;
00551 
00552         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_14">iter_has_child</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter) <span class="keyword">const</span>;
00554 
00558         
00559         <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataType&gt;
00560         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z973_11">get_value</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> column, DataType&amp; data) <span class="keyword">const</span>;
00569 
00570         <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataType&gt;
00571         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z974_1">get_enum</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> column, DataType&amp; data) <span class="keyword">const</span>;
00581 
00582         <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataType&gt;
00583         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z974_2">get_object</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> column, DataType&amp; data) <span class="keyword">const</span>;
00593 
00594         <span class="keyword">template</span>&lt;<span class="keyword">typename</span> DataType&gt;
00595         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z974_3">get_pointer</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> column, DataType&amp; data) <span class="keyword">const</span>;
00606 
00610 
00611         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_0">iter_next</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter);
00617 
00618         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_1">iter_children</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> *parent = 0);
00628 
00629         <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_2">iter_n_children</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> *iter);
00635          
00636         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_3">iter_nth_child</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> *parent, <span class="keywordtype">int</span> n);
00647         
00648         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_4">iter_parent</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; child);
00657 
00658         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_5">ref_node</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> *iter);
00670 
00671         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_6">unref_node</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a> *iter);
00679 
00680         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_7">foreach</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#w0">ForeachSlot</a>&amp; each);
00686 
00687         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_8">row_changed</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter);
00691          
00692         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_9">row_inserted</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter);
00696 
00697         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_10">row_has_child_toggled</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter);
00703         
00704         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_11">row_deleted</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path);
00711         
00712         <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z975_12">rows_reordered</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> *new_order);
00720          
00724 
00725         <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowChangedSignalProxy</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z976_0">sig_row_changed</a>();
00727 
00728         <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowInsertedSignalProxy</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z976_1">sig_row_inserted</a>();
00730 
00731         <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowHasChildToggledSignalProxy</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z976_2">sig_row_has_child_toggled</a>();
00733 
00734         <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowDeletedSignalProxy</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z976_3">sig_row_deleted</a>();
00736 
00737         <span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RowsReorderedSignalProxy</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html#z976_4">sig_rows_reordered</a>();
00739         
00741 };
00742 
00749 
<a name="l00750"></a><a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html">00750</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html">TreeRowReference</a> : <span class="keyword">public</span> G::Boxed
00751 {
00752 <span class="keyword">public</span>:
00755 
00756         <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z977_0">TreeRowReference</a>(<a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a>&amp; model, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path);
00763 
00764         <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z977_0">TreeRowReference</a>(<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>&amp; proxy, <a class="code" href="classGFC_1_1Gtk_1_1TreeModel.html">TreeModel</a>&amp; model, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path);
00777 
00778         <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z977_0">TreeRowReference</a>(GtkTreeRowReference *reference);
00786 
00787         <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z977_0">TreeRowReference</a>(GtkTreeRowReference *reference, <span class="keywordtype">bool</span> copy);
00799 
00800         <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z977_0">TreeRowReference</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html">TreeRowReference</a>&amp; src);
00803         
00804         <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z977_5">~TreeRowReference</a>();
00806 
00807         <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html">TreeRowReference</a>&amp; <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z977_6">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html">TreeRowReference</a>&amp; src);
00810 
00814 
00815         GtkTreeRowReference* <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z978_0">gtk_tree_row_reference</a>() <span class="keyword">const</span>;
00817 
00818         <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z978_1">operator GtkTreeRowReference* </a>() <span class="keyword">const</span>;
00820 
00821         <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer&lt;TreePath&gt;</a> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z978_2">get_path</a>() <span class="keyword">const</span>;
00825         
00826         <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#z978_3">valid</a>() <span class="keyword">const</span>;
00829         
00831 
00832         <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#e0">inserted</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>&amp; proxy, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path);
00837          
00838         <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#e1">deleted</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>&amp; proxy, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path);
00843          
00844         <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeRowReference.html#e2">reordered</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>&amp; proxy, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreePath.html">TreePath</a>&amp; path, <span class="keyword">const</span> <a class="code" href="classGFC_1_1Gtk_1_1TreeIter.html">TreeIter</a>&amp; iter, <span class="keywordtype">int</span> *new_order);
00851 };
00852 
00853 } <span class="comment">// namespace Gtk</span>
00854 
00855 } <span class="comment">// namespace GFC</span>
00856 
00857 <span class="preprocessor">#include &lt;gfc/gtk/inline/treemodel.inl&gt;</span>
00858 
00859 <span class="preprocessor">#endif // GFC_GTK_TREE_MODEL_HH</span>
00860 <span class="preprocessor"></span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:32 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>