Msg.MessageService¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Msg.MessageService(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(authorizer)¶
- Parameters:
authorizer (
Msg.Authorizer
) –- Return type:
- create_draft(message, cancellable)¶
- Parameters:
message (
Msg.Message
) – aMsg.Message
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
a new
Msg.Message
- Return type:
Create new draft message #message and return new message object.
- delete(message, cancellable)¶
- Parameters:
message (
Msg.Message
) – aMsg.Message
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
True
for succes, else &:obj:False- Return type:
Delets #message.
- get_mail_folder(type, cancellable)¶
- Parameters:
type (
Msg.MessageMailFolderType
) – aMsg.MessageMailFolderType
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
- Return type:
Get a specific mail folder for given service
- get_mail_folders(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
all mail folders the user can access
- Return type:
Get all folders for given service
- get_messages(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
all messages the user can access
- Return type:
Get all messages for given service