Mercurial > pidgin.yaz
comparison finch/libgnt/gnttree.h @ 31533:44f53d3fc54f
Remove trailing whitespace
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 04 Jan 2011 06:42:45 +0000 |
parents | e1b511df0d3e |
children | 5876584828e8 |
comparison
equal
deleted
inserted
replaced
31532:8c6a1fa21f43 | 31533:44f53d3fc54f |
---|---|
60 | 60 |
61 GntTreeRow *current; /* current selection */ | 61 GntTreeRow *current; /* current selection */ |
62 | 62 |
63 GntTreeRow *top; /* The topmost visible item */ | 63 GntTreeRow *top; /* The topmost visible item */ |
64 GntTreeRow *bottom; /* The bottommost visible item */ | 64 GntTreeRow *bottom; /* The bottommost visible item */ |
65 | 65 |
66 GntTreeRow *root; /* The root of all evil */ | 66 GntTreeRow *root; /* The root of all evil */ |
67 | 67 |
68 GList *list; /* List of GntTreeRow s */ | 68 GList *list; /* List of GntTreeRow s */ |
69 GHashTable *hash; /* We need this for quickly referencing the rows */ | 69 GHashTable *hash; /* We need this for quickly referencing the rows */ |
70 guint (*hash_func)(gconstpointer); | 70 guint (*hash_func)(gconstpointer); |
71 gboolean (*hash_eq_func)(gconstpointer, gconstpointer); | 71 gboolean (*hash_eq_func)(gconstpointer, gconstpointer); |
72 GDestroyNotify key_destroy; | 72 GDestroyNotify key_destroy; |
214 * be returned. | 214 * be returned. |
215 * | 215 * |
216 * @return A list of texts of a row. The list and its data should be | 216 * @return A list of texts of a row. The list and its data should be |
217 * freed by the caller. The caller should make sure that if | 217 * freed by the caller. The caller should make sure that if |
218 * any column of the tree contains binary data, it's not freed. | 218 * any column of the tree contains binary data, it's not freed. |
219 * @see gnt_tree_get_selection_text_list | 219 * @see gnt_tree_get_selection_text_list |
220 * @see gnt_tree_get_selection_text | 220 * @see gnt_tree_get_selection_text |
221 */ | 221 */ |
222 GList * gnt_tree_get_row_text_list(GntTree *tree, gpointer key); | 222 GList * gnt_tree_get_row_text_list(GntTree *tree, gpointer key); |
223 | 223 |
224 /** | 224 /** |
480 * | 480 * |
481 * @param tree The tree | 481 * @param tree The tree |
482 * @param func The comparison function, which is used to compare | 482 * @param func The comparison function, which is used to compare |
483 * the keys | 483 * the keys |
484 * | 484 * |
485 * @see gnt_tree_sort_row | 485 * @see gnt_tree_sort_row |
486 */ | 486 */ |
487 void gnt_tree_set_compare_func(GntTree *tree, GCompareFunc func); | 487 void gnt_tree_set_compare_func(GntTree *tree, GCompareFunc func); |
488 | 488 |
489 /** | 489 /** |
490 * Set whether a row, which has child rows, should be expanded. | 490 * Set whether a row, which has child rows, should be expanded. |
533 | 533 |
534 /** | 534 /** |
535 * Set whether a column is visible or not. | 535 * Set whether a column is visible or not. |
536 * This can be useful when, for example, we want to store some data | 536 * This can be useful when, for example, we want to store some data |
537 * which we don't want/need to display. | 537 * which we don't want/need to display. |
538 * | 538 * |
539 * @param tree The tree | 539 * @param tree The tree |
540 * @param col The index of the column | 540 * @param col The index of the column |
541 * @param vis If @c FALSE, the column will not be displayed | 541 * @param vis If @c FALSE, the column will not be displayed |
542 */ | 542 */ |
543 void gnt_tree_set_column_visible(GntTree *tree, int col, gboolean vis); | 543 void gnt_tree_set_column_visible(GntTree *tree, int col, gboolean vis); |
544 | 544 |
545 /** | 545 /** |
546 * Set whether a column can be resized to keep the same ratio when the | 546 * Set whether a column can be resized to keep the same ratio when the |
547 * tree is resized. | 547 * tree is resized. |
548 * | 548 * |
549 * @param tree The tree | 549 * @param tree The tree |
550 * @param col The index of the column | 550 * @param col The index of the column |
551 * @param res If @c FALSE, the column will not be resized when the | 551 * @param res If @c FALSE, the column will not be resized when the |
552 * tree is resized | 552 * tree is resized |
553 * | 553 * |