GMime.Param¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
changed |
r |
||
charset |
r |
The charset to use when encoding the parameter value. |
|
lang |
r |
the language specifier to use when encoding the value. |
|
method |
r |
The encoding method used for the parameter value. |
|
name |
r |
The parameter name. |
|
parent_object |
r |
||
value |
r |
The parameter value. |
Class Details¶
- class GMime.Param(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A parameter name/value pair as used in the Content-Type and Content-Disposition headers.
- get_charset()¶
- Returns:
the charset used for encoding the parameter.
- Return type:
Gets the charset used for encoding the parameter.
- get_encoding_method()¶
- Returns:
the encoding method used for encoding the parameter.
- Return type:
Gets the encoding method used for encoding the parameter.
- get_lang()¶
- Returns:
the language specifier used for encoding the parameter.
- Return type:
Gets the language specifier used for encoding the parameter.
- set_charset(charset)¶
-
Sets the parameter charset used for encoding the value.
- set_encoding_method(method)¶
- Parameters:
method (
GMime.ParamEncodingMethod
) – aGMime.ParamEncodingMethod
Sets the encoding method used for encoding the value.