Ticket #45 (enhancement)
Opened 2 years ago
Last modified 2 years ago
New TnyGtkHeaderListModel API and features: converting the tree to a flat TnyList's iteration
Status: new
| Reported by: | pvanhoof | Assigned to: | pvanhoof |
|---|---|---|---|
| Priority: | minor | Milestone: | A second release |
| Component: | libtinymailui-gtk | Version: | 2.0 |
| Keywords: | Cc: | ||
The TnyGtkFolderStoreTreeModel begs for APIs that make it possible to iterate not only over the root folderstores but also over the siblings (childs and childchilds).
Something like this?
void tny_gtk_folder_store_tree_model_get_all_members (TnyGtkFolderStoreTreeModel *self, TnyList *list);
Attachments
Change History
04/12/07 20:35:46: Modified by anonymous
- type changed from defect to enhancement.
04/12/07 20:37:35: Modified by pvanhoof
04/12/07 20:38:18: Modified by anonymous
- summary changed from New TnyGtkHeaderListModel API and features to New TnyGtkHeaderListModel API and features: converting the tree to a flat TnyList's iteration.
05/13/07 14:04:25: Modified by pvanhoof
Ticket #48 is not the same but related to this one.

Because the TnyGtkFolderStoreTreeModel is a TnyList already, maybe this can also be solved by having to iterator types, one for the normal (correct) behavior and one for this new proposed behavior:
TnyIterator * tny_gtk_folder_store_tree_model_create_iterator_for_all (self) ...