Added descriptive documentation of the ATK interfaces, primarily
[atk.git] / docs / tmpl / atktable.sgml
blob986c1c08241a85bd7b84d655a34c3edb67f7c396
1 <!-- ##### SECTION Title ##### -->
2 AtkTable
4 <!-- ##### SECTION Short_Description ##### -->
5 ATK Interface implemented for UI components which contain tabular or
6 row/column information.
8 <!-- ##### SECTION Long_Description ##### -->
9 <para>
10 #AtkTable should be implemented by components which present elements
11 ordered via rows and columns. It may also be used to present
12 tree-structured information if the nodes of the trees can be said to
13 contain multiple "columns". Individual elements of an #AtkTable are
14 typically referred to as "cells", and these cells are exposed by
15 #AtkTable as child #AtkObjects of the #AtkTable. Both row/column and
16 child-index-based access to these children is provided.
17 </para>
18 <para>
19 Children of #AtkTable are frequently "lightweight" objects, that is,
20 they may not have backing widgets in the host UI toolkit. They are
21 therefore often transient.
22 </para>
23 <para>
24 Since tables are often very complex, #AtkTable includes provision for
25 offering simplified summary information, as well as row and column
26 headers and captions. Headers and captions are #AtkObjects which may
27 implement other interfaces (#AtkText, #AtkImage, etc.) as appropriate.
28 #AtkTable summaries may themselves be (simplified) #AtkTables, etc.
29 </para>
30 <!-- ##### SECTION See_Also ##### -->
31 <para>
32 #AtkObject, #ATK_STATE_TRANSIENT
33 </para>
35 <!-- ##### STRUCT AtkTable ##### -->
36 <para>
38 </para>
41 <!-- ##### STRUCT AtkTableIface ##### -->
42 <para>
44 </para>
46 @parent:
47 @ref_at:
48 @get_index_at:
49 @get_column_at_index:
50 @get_row_at_index:
51 @get_n_columns:
52 @get_n_rows:
53 @get_column_extent_at:
54 @get_row_extent_at:
55 @get_caption:
56 @get_column_description:
57 @get_column_header:
58 @get_row_description:
59 @get_row_header:
60 @get_summary:
61 @set_caption:
62 @set_column_description:
63 @set_column_header:
64 @set_row_description:
65 @set_row_header:
66 @set_summary:
67 @get_selected_columns:
68 @get_selected_rows:
69 @is_column_selected:
70 @is_row_selected:
71 @is_selected:
72 @add_row_selection:
73 @remove_row_selection:
74 @add_column_selection:
75 @remove_column_selection:
76 @row_inserted:
77 @column_inserted:
78 @row_deleted:
79 @column_deleted:
80 @row_reordered:
81 @column_reordered:
82 @model_changed:
84 <!-- ##### FUNCTION atk_table_ref_at ##### -->
85 <para>
87 </para>
89 @table:
90 @row:
91 @column:
92 @Returns:
95 <!-- ##### FUNCTION atk_table_get_index_at ##### -->
96 <para>
98 </para>
100 @table:
101 @row:
102 @column:
103 @Returns:
106 <!-- ##### FUNCTION atk_table_get_column_at_index ##### -->
107 <para>
109 </para>
111 @table:
112 @index:
113 @Returns:
116 <!-- ##### FUNCTION atk_table_get_row_at_index ##### -->
117 <para>
119 </para>
121 @table:
122 @index:
123 @Returns:
126 <!-- ##### FUNCTION atk_table_get_n_columns ##### -->
127 <para>
129 </para>
131 @table:
132 @Returns:
135 <!-- ##### FUNCTION atk_table_get_n_rows ##### -->
136 <para>
138 </para>
140 @table:
141 @Returns:
144 <!-- ##### FUNCTION atk_table_get_column_extent_at ##### -->
145 <para>
147 </para>
149 @table:
150 @row:
151 @column:
152 @Returns:
155 <!-- ##### FUNCTION atk_table_get_row_extent_at ##### -->
156 <para>
158 </para>
160 @table:
161 @row:
162 @column:
163 @Returns:
166 <!-- ##### FUNCTION atk_table_get_caption ##### -->
167 <para>
169 </para>
171 @table:
172 @Returns:
175 <!-- ##### FUNCTION atk_table_get_column_description ##### -->
176 <para>
178 </para>
180 @table:
181 @column:
182 @Returns:
185 <!-- ##### FUNCTION atk_table_get_row_description ##### -->
186 <para>
188 </para>
190 @table:
191 @row:
192 @Returns:
193 <!-- # Unused Parameters # -->
194 @r:
197 <!-- ##### FUNCTION atk_table_get_column_header ##### -->
198 <para>
200 </para>
202 @table:
203 @column:
204 @Returns:
207 <!-- ##### FUNCTION atk_table_get_row_header ##### -->
208 <para>
210 </para>
212 @table:
213 @row:
214 @Returns:
217 <!-- ##### FUNCTION atk_table_get_summary ##### -->
218 <para>
220 </para>
222 @table:
223 @Returns:
226 <!-- ##### FUNCTION atk_table_set_caption ##### -->
227 <para>
229 </para>
231 @table:
232 @caption:
233 <!-- # Unused Parameters # -->
234 @accessible:
237 <!-- ##### FUNCTION atk_table_set_row_description ##### -->
238 <para>
240 </para>
242 @table:
243 @row:
244 @description:
245 <!-- # Unused Parameters # -->
246 @accessible:
249 <!-- ##### FUNCTION atk_table_set_column_description ##### -->
250 <para>
252 </para>
254 @table:
255 @column:
256 @description:
257 <!-- # Unused Parameters # -->
258 @accessible:
261 <!-- ##### FUNCTION atk_table_set_row_header ##### -->
262 <para>
264 </para>
266 @table:
267 @row:
268 @header:
271 <!-- ##### FUNCTION atk_table_set_column_header ##### -->
272 <para>
274 </para>
276 @table:
277 @column:
278 @header:
281 <!-- ##### FUNCTION atk_table_set_summary ##### -->
282 <para>
284 </para>
286 @table:
287 @accessible:
290 <!-- ##### FUNCTION atk_table_get_selected_columns ##### -->
291 <para>
293 </para>
295 @table:
296 @selected:
297 @Returns:
300 <!-- ##### FUNCTION atk_table_get_selected_rows ##### -->
301 <para>
303 </para>
305 @table:
306 @selected:
307 @Returns:
310 <!-- ##### FUNCTION atk_table_is_column_selected ##### -->
311 <para>
313 </para>
315 @table:
316 @column:
317 @Returns:
320 <!-- ##### FUNCTION atk_table_is_row_selected ##### -->
321 <para>
323 </para>
325 @table:
326 @row:
327 @Returns:
330 <!-- ##### FUNCTION atk_table_is_selected ##### -->
331 <para>
333 </para>
335 @table:
336 @row:
337 @column:
338 @Returns:
341 <!-- ##### FUNCTION atk_table_add_column_selection ##### -->
342 <para>
344 </para>
346 @table:
347 @column:
348 @Returns:
351 <!-- ##### FUNCTION atk_table_add_row_selection ##### -->
352 <para>
354 </para>
356 @table:
357 @row:
358 @Returns:
361 <!-- ##### FUNCTION atk_table_remove_column_selection ##### -->
362 <para>
364 </para>
366 @table:
367 @column:
368 @Returns:
371 <!-- ##### FUNCTION atk_table_remove_row_selection ##### -->
372 <para>
374 </para>
376 @table:
377 @row:
378 @Returns: