EBookContacts.BookIndices¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
chr |
r/w |
a character for the index |
|
index |
r/w |
0-based index of the first contact with this character |
Methods¶
class |
|
class |
|
Details¶
- class EBookContacts.BookIndices¶
This is a structure describing indices of the contacts in the view. See e_book_client_view_dup_indices() for more information.
New in version 3.50.
- classmethod get_ascending_sort(self)¶
- Parameters:
self (
EBookContacts.BookIndicesUpdater
) – anEBookContacts.BookIndicesUpdater
- Returns:
True
, when considers contacts sorted in ascending order,False
when in the descending order.- Return type:
Returns whether the self considers contacts stored in the ascending order.
New in version 3.50.
- classmethod set_ascending_sort(self, ascending_sort)¶
- Parameters:
self (
EBookContacts.BookIndicesUpdater
) – anEBookContacts.BookIndicesUpdater
ascending_sort (
bool
) – the value to set
Sets whether the contacts are sorted in an ascending order; if not, then they are sorted in the descending order. That influences what indexes the indices have set.
New in version 3.50.