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.Signatureobjects.- 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.Signatureto theGMime.SignatureList.
- clear()¶
Clears the list of addresses.
- contains(sig)¶
- Parameters:
sig (
GMime.Signature) – aGMime.Signature- Returns:
Trueif the specifiedGMime.Signatureis contained within the specifiedGMime.SignatureListorFalseotherwise.- Return type:
Checks whether or not the specified
GMime.Signatureis contained within theGMime.SignatureList.
- get_signature(index)¶
- Parameters:
index (
int) – index ofGMime.Signatureto get- Returns:
the
GMime.Signatureat the specified index orNoneif the index is out of range.- Return type:
Gets the
GMime.Signatureat the specified index.
- index_of(sig)¶
- Parameters:
sig (
GMime.Signature) – aGMime.Signature- Returns:
the index of the requested
GMime.Signaturewithin theGMime.SignatureListor %-1 if it is not contained within theGMime.SignatureList.- Return type:
Gets the index of the specified
GMime.Signatureinside theGMime.SignatureList.
- insert(index, sig)¶
- Parameters:
index (
int) – index to insert atsig (
GMime.Signature) – aGMime.Signature
Inserts a
GMime.Signatureinto theGMime.SignatureListat the specified index.
- length()¶
- Returns:
the number of
GMime.Signatureobjects in the list.- Return type:
Gets the length of the list.
- remove(sig)¶
- Parameters:
sig (
GMime.Signature) – aGMime.Signature- Returns:
Trueif the specifiedGMime.Signaturewas removed orFalseotherwise.- Return type:
Removes a
GMime.Signaturefrom theGMime.SignatureList.
- remove_at(index)¶
- Parameters:
index (
int) – index to remove- Returns:
Trueif anGMime.Signaturewas removed orFalseotherwise.- Return type:
Removes a
GMime.Signaturefrom theGMime.SignatureListat the specified index.
- set_signature(index, sig)¶
- Parameters:
index (
int) – index ofGMime.Signatureto setsig (
GMime.Signature) – aGMime.Signature
Sets the
GMime.Signatureat the specified index to sig.