Camel.FolderThread¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| folder | Camel.Folder | r/w | |
| node_chunks | Camel.MemChunk | r/w | |
| refcount | int | r/w | |
| subject | int | r/w | |
| summary | [ object] | r/w | |
| tree | object | r/w | 
Details¶
- 
class Camel.FolderThread¶
- 
classmethod new(folder, uids, thread_subject)¶
- Parameters: - folder (Camel.Folder) – aCamel.Folder
- uids ([str]) – The subset of uid’s to thread. IfNone, then thread all UID-s in the folder
- thread_subject (bool) – thread based on subject also
 - Returns: - A - Camel.FolderThreadcontianing a tree of- Camel.FolderThreadNode’s which represent the threaded structure of the messages.- Return type: - Thread a (subset) of the messages in a folder. And sort the result in summary order. - If thread_subject is - True, messages with related subjects will also be threaded. The default behaviour is to only thread based on message-id.- This function is probably to be removed soon. 
- folder (
 - 
apply(uids)¶
- Parameters: - uids ([ - str]) – a- GLib.PtrArrayarray of UID-s- Adds new uids into the threaded tree. 
 - 
ref()¶
- Returns: - the referenced self - Return type: - Camel.FolderThread- Increase the reference of self 
 - 
unref()¶
- Free all memory associated with the thread descriptor self. 
 
- 
classmethod