EDataBook.DataBookCursorCache

g EDataBook.DataBookCursor EDataBook.DataBookCursor EDataBook.DataBookCursorCache EDataBook.DataBookCursorCache EDataBook.DataBookCursor->EDataBook.DataBookCursorCache GObject.Object GObject.Object GObject.Object->EDataBook.DataBookCursor

Subclasses:None

Methods

Inherited:EDataBook.DataBookCursor (11), GObject.Object (37)
Structs:GObject.ObjectClass (5)
class new (book_backend, book_cache, sort_fields, sort_types)

Properties

Inherited:EDataBook.DataBookCursor (3)
Name Type Flags Short Description
book-cache EDataBook.BookCache w/co The EDataBook.BookCache to use for queries
cursor int w/co The EDataBook.BookCacheCursor pointer

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent EDataBook.DataBookCursor r  

Class Details

class EDataBook.DataBookCursorCache(**kwargs)
Bases:EDataBook.DataBookCursor
Abstract:No
Structure:EDataBook.DataBookCursorCacheClass

An opaque handle for the EDataBook.BookCache cursor instance.

New in version 3.26.

classmethod new(book_backend, book_cache, sort_fields, sort_types)
Parameters:
Raises:

GLib.Error

Returns:

A newly created EDataBook.DataBookCursor, or None if cursor creation failed.

Return type:

EDataBook.DataBookCursor

Creates an EDataBook.DataBookCursor and implements all of the cursor methods using the delegate book_cache object.

This is suitable cursor type for any backend which stores its contacts using the EDataBook.BookCache object. The EDataBook.BookMetaBackend does that transparently.

New in version 3.26.

Property Details

EDataBook.DataBookCursorCache.props.book_cache
Name:book-cache
Type:EDataBook.BookCache
Default Value:None
Flags:WRITABLE, CONSTRUCT_ONLY

The EDataBook.BookCache to use for queries

EDataBook.DataBookCursorCache.props.cursor
Name:cursor
Type:int
Default Value:None
Flags:WRITABLE, CONSTRUCT_ONLY

The EDataBook.BookCacheCursor pointer