EDataServer.SourceMailSignature¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
File containing signature content |
||
r/w/c/en |
MIME type of the signature content |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataServer.SourceMailSignature(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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
, orNone
- Return type:
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
instance 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 for self, or
None
if 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)¶
-
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,
None
is set instead.New in version 3.6.
Property Details¶
- EDataServer.SourceMailSignature.props.file¶
-
File containing signature content