GMime.MessagePartial¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
id |
r |
message/partial id |
|
number |
r |
the part number |
|
parent_object |
r |
parent |
|
total |
r |
the total number of message/partials that make up the whole message/rfc822 |
Class Details¶
- class GMime.MessagePartial(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A message/partial MIME part.
- classmethod new(id, number, total)¶
- Parameters:
- Returns:
an empty MIME message/partial object.
- Return type:
Creates a new MIME message/partial object.
- classmethod reconstruct_message(partials)¶
- Parameters:
partials ([
GMime.MessagePartial
]) – an array of message/partial mime parts- Returns:
a
GMime.Message
object on success orNone
on fail.- Return type:
Reconstructs the
GMime.Message
from the given message/partial parts in partials.
- get_id()¶
-
Gets the message/partial id parameter value.
- get_number()¶
- Returns:
the message/partial part number or %-1 on fail.
- Return type:
Gets the message/partial part number.