GMime.InternetAddressGroup¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
members |
r |
a |
|
parent_object |
r |
parent |
Class Details¶
- class GMime.InternetAddressGroup(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An RFC 2822 Group address.
- classmethod new(name)¶
- Parameters:
name (
str
) – group name- Returns:
a new
GMime.InternetAddressGroup
object.Note: The name string should be in UTF-8.
- Return type:
Creates a new
GMime.InternetAddressGroup
object with the specified name.
- add_member(member)¶
- Parameters:
member (
GMime.InternetAddress
) – aGMime.InternetAddress
- Returns:
the index of the newly added member.
- Return type:
Add a contact to the internet address group.
- get_members()¶
- Returns:
a
GMime.InternetAddressList
containing the members of self.- Return type:
Gets the
GMime.InternetAddressList
containing the group members of an rfc822 group address.
- set_members(members)¶
- Parameters:
members (
GMime.InternetAddressList
) – aGMime.InternetAddressList
Set the members of the internet address group.