GMime.SignatureList¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
array |
[ |
r |
|
parent_object |
r |
parent |
Class Details¶
- class GMime.SignatureList(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A collection of
GMime.Signature
objects.- classmethod new()¶
- Returns:
a new
GMime.SignatureList
.- Return type:
Creates a new
GMime.SignatureList
.
- add(sig)¶
- Parameters:
sig (
GMime.Signature
) – aGMime.Signature
- Returns:
the index of the added
GMime.Signature
.- Return type:
Adds a
GMime.Signature
to theGMime.SignatureList
.
- clear()¶
Clears the list of addresses.
- contains(sig)¶
- Parameters:
sig (
GMime.Signature
) – aGMime.Signature
- Returns:
True
if the specifiedGMime.Signature
is contained within the specifiedGMime.SignatureList
orFalse
otherwise.- Return type:
Checks whether or not the specified
GMime.Signature
is contained within theGMime.SignatureList
.
- get_signature(index)¶
- Parameters:
index (
int
) – index ofGMime.Signature
to get- Returns:
the
GMime.Signature
at the specified index orNone
if the index is out of range.- Return type:
Gets the
GMime.Signature
at the specified index.
- index_of(sig)¶
- Parameters:
sig (
GMime.Signature
) – aGMime.Signature
- Returns:
the index of the requested
GMime.Signature
within theGMime.SignatureList
or %-1 if it is not contained within theGMime.SignatureList
.- Return type:
Gets the index of the specified
GMime.Signature
inside theGMime.SignatureList
.
- insert(index, sig)¶
- Parameters:
index (
int
) – index to insert atsig (
GMime.Signature
) – aGMime.Signature
Inserts a
GMime.Signature
into theGMime.SignatureList
at the specified index.
- length()¶
- Returns:
the number of
GMime.Signature
objects in the list.- Return type:
Gets the length of the list.
- remove(sig)¶
- Parameters:
sig (
GMime.Signature
) – aGMime.Signature
- Returns:
True
if the specifiedGMime.Signature
was removed orFalse
otherwise.- Return type:
Removes a
GMime.Signature
from theGMime.SignatureList
.
- remove_at(index)¶
- Parameters:
index (
int
) – index to remove- Returns:
True
if anGMime.Signature
was removed orFalse
otherwise.- Return type:
Removes a
GMime.Signature
from theGMime.SignatureList
at the specified index.
- set_signature(index, sig)¶
- Parameters:
index (
int
) – index ofGMime.Signature
to setsig (
GMime.Signature
) – aGMime.Signature
Sets the
GMime.Signature
at the specified index to sig.