Flags

Details

class EBookContacts.BookClientViewFlags(value)

Bases: GObject.GFlags

Flags that control the behaviour of an #EBookClientView.

New in version 3.4.

NONE = 0

Symbolic value for no flags

NOTIFY_INITIAL = 1

If this flag is set then all contacts matching the view’s query will be sent as notifications when starting the view, otherwise only future changes will be reported. The default for an #EBookClientView is True.

MANUAL_QUERY = 2

Rather than receiving contact changes one-by-one, be notified only by “content-changed” signal and query contacts by ranges. See e_book_client_view_set_sort_fields_sync() for more information. The default is False.

New in version 3.50.

class EBookContacts.BookCursorStepFlags(value)

Bases: GObject.GFlags

Defines the behaviour of e_book_client_cursor_step().

New in version 3.12.

MOVE = 1

The cursor position should be modified while stepping

FETCH = 2

Traversed contacts should be listed and returned while stepping.

class EBookContacts.BookOperationFlags(value)

Bases: GObject.GFlags

Book operation flags, to specify behavior in certain situations. The conflict resolution mode flags cannot be combined together, where the EBookContacts.BookOperationFlags.CONFLICT_KEEP_LOCAL is the default behavior (and it is used when no other conflict resolution flag is set). The flags can be ignored when the operation or the backend don’t support it.

New in version 3.34.

CONFLICT_KEEP_LOCAL = 0

conflict resolution mode, to use local data (and always overwrite server data), when a conflict is detected

NONE = 0

no operation flags defined

CONFLICT_FAIL = 1

conflict resolution mode, to fail and do not do any changes, when a conflict is detected

CONFLICT_USE_NEWER = 2

conflict resolution mode, to use newer of the local and the server side data, when a conflict is detected

CONFLICT_KEEP_SERVER = 4

conflict resolution mode, to use the server data (and local changed), when a conflict is detected

CONFLICT_WRITE_COPY = 8

conflict resolution mode, to create a copy of the data, when a conflict is detected