Msg.MailFolder

g GObject.Object GObject.Object Msg.MailFolder Msg.MailFolder GObject.Object->Msg.MailFolder

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_json (json_object)

get_display_name ()

get_total_item_count ()

get_unread_item_count ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Msg.MailFolder(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Msg.MailFolderClass

Handling of mail folder specific functions.

classmethod new()
Returns:

the newly created MsgMailFolder

Return type:

Msg.MailFolder

Creates a new MsgMailFolder.

classmethod new_from_json(json_object)
Parameters:

json_object (Json.Object) – The json object to parse

Raises:

GLib.Error

Returns:

the newly created MsgMailFolder

Return type:

Msg.MailFolder

Creates a new MsgMailFolder from json response object.

get_display_name()
Returns:

display name of mail folder

Return type:

str

get_total_item_count()
Returns:

total item number of mail folder

Return type:

int

get_unread_item_count()
Returns:

unread item number of mail folder

Return type:

int