EDataServer.SourceMailSignature¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | EDataServer.SourceExtension (4), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| dup_mime_type() | |
| get_file() | |
| get_mime_type() | |
| set_mime_type(mime_type) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
| Inherited: | EDataServer.SourceExtension (1) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| file | Gio.File | r | File containing signature content | 
| mime-type | str | r/w/c/en | MIME type of the signature content | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent | EDataServer.SourceExtension | r | 
Class Details¶
- 
class EDataServer.SourceMailSignature(**kwargs)¶
- Bases: - EDataServer.SourceExtension- Abstract: - No - Structure: - EDataServer.SourceMailSignatureClass- Contains only private data that should be read and manipulated using the function below. - New in version 3.6. - 
dup_mime_type()¶
- Returns: - a newly-allocated copy of - EDataServer.SourceMailSignature- :mime-type, or- None- Return type: - stror- None- Thread-safe variation of - EDataServer.SourceMailSignature.get_mime_type(). Use this function when accessing self from multiple threads.- The returned string should be freed with - GLib.free() when no longer needed.- New in version 3.6. 
 - 
get_file()¶
- Returns: - a - Gio.File- Return type: - Gio.File- Returns a - Gio.Fileinstance pointing to the signature file for self. The signature file may be a regular file containing the static signature content, or it may be a symbolic link to an executable file that produces the signature content.- EDataServer.Source.mail_signature_load() uses this to load the signature content.- New in version 3.6. 
 - 
get_mime_type()¶
- Returns: - the MIME type of the signature content, or - None- Return type: - stror- None- Returns the MIME type of the signature content for self, or - Noneif it has not yet been determined.- EDataServer.Source.mail_signature_load() sets this automatically if the MIME type has not yet been determined.- New in version 3.6. 
 - 
set_mime_type(mime_type)¶
- Parameters: - mime_type ( - stror- None) – a MIME type, or- None- Sets the MIME type of the signature content for self. - EDataServer.Source.mail_signature_load() sets this automatically if the MIME type has not yet been determined.- The internal copy of mime_type is automatically stripped of leading and trailing whitespace. If the resulting string is empty, - Noneis set instead.- New in version 3.6. 
 
-