Camel.LocalSettings¶
- Subclasses:
None
Methods¶
- Inherited:
Camel.StoreSettings (4), Camel.Settings (2), GObject.Object (37)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c/en |
Whether to apply filters in all folders |
||
r/w/c/en |
Whether to check new messages for junk |
||
r/w/c/en |
Whether to use alternative flag separator in Maildir file name |
||
r/w/c/en |
File path to the local store |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Camel.LocalSettings(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Contains only private data that should be read and manipulated using the functions below.
New in version 3.4.
- dup_path()¶
- Returns:
a newly-allocated copy of
Camel.LocalSettings
:path
- Return type:
Thread-safe variation of
Camel.LocalSettings.get_path
(). 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.4.
- get_filter_all()¶
- Returns:
whether to apply filters in all folders
- Return type:
Returns whether apply filters in all folders.
New in version 3.24.
- get_filter_junk()¶
- Returns:
whether to check new messages for junk
- Return type:
Returns whether to check new messages for junk.
New in version 3.24.
- get_maildir_alt_flag_sep()¶
- Returns:
whether the Maildir provider should use an alternative flag separator
- Return type:
Returns, whether the Maildir provider should use alternative flag separator in the file name. When
True
, uses an exclamation mark (!), whenFalse
, uses the colon (:). The default isFalse
, to be consistent with the Maildir specification. The flag separator is flipped on the Windows build.New in version 3.40.
- get_path()¶
- Returns:
the file path to the local store
- Return type:
Returns the file path to the root of the local mail store.
New in version 3.4.
- set_filter_all(filter_all)¶
- Parameters:
filter_all (
bool
) – whether to apply filters in all folders
Sets whether to apply filters in all folders.
New in version 3.24.
- set_filter_junk(filter_junk)¶
- Parameters:
filter_junk (
bool
) – whether to check new messages for junk
Sets whether to check new messages for junk.
New in version 3.24.
- set_maildir_alt_flag_sep(maildir_alt_flag_sep)¶
- Parameters:
maildir_alt_flag_sep (
bool
) – value to set
Sets whether Maildir should use alternative flag separator. See
Camel.LocalSettings.get_maildir_alt_flag_sep
() for more information on what it means.Note: Change to this setting takes effect only for newly created Maildir stores.
New in version 3.40.
- set_path(path)¶
- Parameters:
path (
str
) – the file path to the local store
Sets the file path to the root of the local mail store. Any trailing directory separator characters will be stripped off of the
Camel.LocalSettings
:path
property.New in version 3.4.
Property Details¶
- Camel.LocalSettings.props.filter_all¶
- Name:
filter-all
- Type:
- Default Value:
- Flags:
Whether to apply filters in all folders
- Camel.LocalSettings.props.filter_junk¶
- Name:
filter-junk
- Type:
- Default Value:
- Flags:
Whether to check new messages for junk
- Camel.LocalSettings.props.maildir_alt_flag_sep¶
- Name:
maildir-alt-flag-sep
- Type:
- Default Value:
- Flags:
Whether to use alternative flag separator in Maildir file name