| Reference Manual of the tinymail framework | ||||
|---|---|---|---|---|
Enumerations for the Gtk+ tree modelsEnumerations for the Gtk+ tree models — Enumerations for the Gtk+ tree models |
enum TnyGtkHeaderListModelColumn; enum TnyGtkAttachListModelColumn; enum TnyGtkFolderStoreTreeModelColumn; enum TnyGtkAccountListModelColumn;
typedef enum {
TNY_GTK_HEADER_LIST_MODEL_FROM_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_TO_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_SUBJECT_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_CC_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_DATE_SENT_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_DATE_RECEIVED_TIME_T_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_DATE_SENT_TIME_T_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_DATE_RECEIVED_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_INSTANCE_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_FLAGS_COLUMN,
TNY_GTK_HEADER_LIST_MODEL_N_COLUMNS
} TnyGtkHeaderListModelColumn;
| The from header | |
| The to header | |
| The subject header | |
| The cc header | |
| The date-sent header as a string | |
| The date-received header as a time_t | |
| The date-sent header as a time_t | |
| The date-received header as a string | |
| The instance column (typically invisible), make sure that you unref instances you get from this folder if you use gtk_tree_model_get | |
| The flags of the message (unread status, also checkout TnyHeaderFlags) | |
| The amount of available columns |
typedef enum {
TNY_GTK_ATTACH_LIST_MODEL_PIXBUF_COLUMN,
TNY_GTK_ATTACH_LIST_MODEL_FILENAME_COLUMN,
TNY_GTK_ATTACH_LIST_MODEL_INSTANCE_COLUMN,
TNY_GTK_ATTACH_LIST_MODEL_N_COLUMNS
} TnyGtkAttachListModelColumn;
| The icon for the attachment. Typically an icon representing the mime-part or a preview icon | |
| The filename of the attachment | |
| The mime-part instance, make sure that you unref instances you get from this folder if you use gtk_tree_model_get | |
| The amount of available columns |
typedef enum {
TNY_GTK_FOLDER_STORE_TREE_MODEL_NAME_COLUMN,
TNY_GTK_FOLDER_STORE_TREE_MODEL_UNREAD_COLUMN,
TNY_GTK_FOLDER_STORE_TREE_MODEL_TYPE_COLUMN,
TNY_GTK_FOLDER_STORE_TREE_MODEL_INSTANCE_COLUMN,
TNY_GTK_FOLDER_STORE_TREE_MODEL_N_COLUMNS
} TnyGtkFolderStoreTreeModelColumn;
typedef enum
{
TNY_GTK_ACCOUNT_LIST_MODEL_NAME_COLUMN,
TNY_GTK_ACCOUNT_LIST_MODEL_INSTANCE_COLUMN,
TNY_GTK_ACCOUNT_LIST_MODEL_N_COLUMNS
} TnyGtkAccountListModelColumn;
| Account-name | |
| Always a TnyAccount instance | |
| Amount of available columns |