1
<!-- ##### SECTION Title ##### -->
4
<!-- ##### SECTION Short_Description ##### -->
5
A tree model for mime part instances
7
<!-- ##### SECTION Long_Description ##### -->
9
A #GtkTreeModel for storing #TnyMimePart instances.
12
The implementation inherits the #GtkListStore, implements #GtkTreeModel and #TnyList.
13
If the library was compiled with gnome features, the implementation will handle the
14
mime-type icon automatically.
17
It's very important to unreference the instance you will get when doing something like this:
20
gtk_tree_model_get (model, &iter, TNY_ATTACH_LIST_MODEL_INSTANCE_COLUMN, &part, -1);
22
g_object_unref (G_OBJECT(partr));
24
The column is indeed a G_TYPE_OBJECT column and getting it from the #GtkTreeModel will indeed add a reference.
27
<!-- ##### SECTION See_Also ##### -->
29
#TnyList, #TnyMimePart, #GtkTreeModel, #GtkListStore, #GtkTreeView, #TnyGtkAttachListModelColumn
32
<!-- ##### SECTION Stability_Level ##### -->
35
<!-- ##### MACRO TNY_TYPE_GTK_ATTACH_LIST_MODEL_COLUMN ##### -->
42
<!-- ##### STRUCT TnyGtkAttachListModel ##### -->
48
<!-- ##### FUNCTION tny_gtk_attach_list_model_column_get_type ##### -->
56
<!-- ##### FUNCTION tny_gtk_attach_list_model_new ##### -->