| 18785:153ae77c1439 | 18786:87d4f1e609cb |
|---|---|
| 81 GntTreeColumnFlag flags; | 81 GntTreeColumnFlag flags; |
| 82 } *columns; /* Would a GList be better? */ | 82 } *columns; /* Would a GList be better? */ |
| 83 gboolean show_title; | 83 gboolean show_title; |
| 84 gboolean show_separator; /* Whether to show column separators */ | 84 gboolean show_separator; /* Whether to show column separators */ |
| 85 | 85 |
| 86 GString *search; | 86 GntTreePriv *priv; |
| 87 int search_timeout; | |
| 88 | |
| 89 GCompareFunc compare; | |
| 90 int lastvisible; | |
| 91 }; | 87 }; |
| 92 | 88 |
| 93 struct _GntTreeClass | 89 struct _GntTreeClass |
| 94 { | 90 { |
| 95 GntWidgetClass parent; | 91 GntWidgetClass parent; |
| 502 * @see gnt_tree_set_col_width | 498 * @see gnt_tree_set_col_width |
| 503 * @see gnt_tree_set_column_resizable | 499 * @see gnt_tree_set_column_resizable |
| 504 */ | 500 */ |
| 505 void gnt_tree_set_column_width_ratio(GntTree *tree, int cols[]); | 501 void gnt_tree_set_column_width_ratio(GntTree *tree, int cols[]); |
| 506 | 502 |
| 503 /** | |
| 504 * Set the column to use for typeahead searching. | |
| 505 * | |
| 506 * @param tree The tree | |
| 507 * @param col The index of the column | |
| 508 */ | |
| 509 void gnt_tree_set_search_column(GntTree *tree, int col); | |
| 510 | |
| 507 G_END_DECLS | 511 G_END_DECLS |
| 508 | 512 |
| 509 #endif /* GNT_TREE_H */ | 513 #endif /* GNT_TREE_H */ |