Camel.VeeSummary

g Camel.FolderSummary Camel.FolderSummary Camel.VeeSummary Camel.VeeSummary Camel.FolderSummary->Camel.VeeSummary GObject.Object GObject.Object GObject.Object->Camel.FolderSummary

Subclasses:

None

Methods

Inherited:

Camel.FolderSummary (46), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (parent)

add (mi_data)

get_uids_for_subfolder (subfolder)

remove (vuid, subfolder)

replace_flags (uid)

Virtual Methods

Inherited:

Camel.FolderSummary (8), GObject.Object (7)

Properties

Inherited:

Camel.FolderSummary (7)

Signals

Inherited:

Camel.FolderSummary (1), GObject.Object (1)

Fields

Inherited:

Camel.FolderSummary (1), GObject.Object (1)

Name

Type

Access

Description

parent

Camel.FolderSummary

r

Class Details

class Camel.VeeSummary(**kwargs)
Bases:

Camel.FolderSummary

Abstract:

No

Structure:

Camel.VeeSummaryClass

classmethod new(parent)
Parameters:

parent (Camel.Folder) – Folder its attached to.

Returns:

A new Camel.VeeSummary object.

Return type:

Camel.FolderSummary

This will create a new Camel.VeeSummary object and read in the summary data from disk, if it exists.

add(mi_data)
Parameters:

mi_data (Camel.VeeMessageInfoData) – the Camel.VeeMessageInfoData to add

Returns:

A new Camel.VeeMessageInfo object.

Return type:

Camel.VeeMessageInfo

Unref returned pointer with GObject.Object.unref()

get_uids_for_subfolder(subfolder)
Parameters:

subfolder (Camel.Folder) – a Camel.Folder

Returns:

a GLib.HashTable with all the virtual mesasge info UID-s knwn to the self.

Return type:

{str: int}

Returns a hash table of all virtual message info UID-s known to the self. The key of the hash table is the virtual message info UID, the value is only the number 1.

New in version 3.6.

remove(vuid, subfolder)
Parameters:

Removes the given vuid of the subfolder from the self.

New in version 3.6.

replace_flags(uid)
Parameters:

uid (str) – a message UID to update flags for

Makes sure self flags on uid corresponds to those in the subfolder of vee-folder, and updates internal counts on self as well.

New in version 3.6.