Dazzle.FuzzyIndexCursor

g Dazzle.FuzzyIndexCursor Dazzle.FuzzyIndexCursor GObject.GInterface GObject.GInterface Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel GObject.Object GObject.Object GObject.Object->Dazzle.FuzzyIndexCursor Gio.AsyncInitable->Dazzle.FuzzyIndexCursor Gio.ListModel->Dazzle.FuzzyIndexCursor

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.AsyncInitable (4), Gio.ListModel (4)

Structs:

GObject.ObjectClass (5)

get_index ()

Virtual Methods

Inherited:

GObject.Object (7), Gio.AsyncInitable (2), Gio.ListModel (3)

Properties

Name

Type

Flags

Short Description

case-sensitive

bool

r/w/co

Case Sensitive

index

Dazzle.FuzzyIndex

w/co

The index this cursor is iterating

max-matches

int

r/w/co

The max number of matches to display

query

str

r/w/co

The query for the index

tables

GLib.VariantDict

w/co

The dictionary of character indexes

Signals

Inherited:

GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

GObject.Object (1), Gio.ListModel (1)

Class Details

class Dazzle.FuzzyIndexCursor(**kwargs)
Bases:

GObject.Object, Gio.AsyncInitable, Gio.ListModel

Abstract:

No

Structure:

Dazzle.FuzzyIndexCursorClass

get_index()
Returns:

A Dazzle.FuzzyIndex.

Return type:

Dazzle.FuzzyIndex

Gets the index the cursor is iterating.

Property Details

Dazzle.FuzzyIndexCursor.props.case_sensitive
Name:

case-sensitive

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Case Sensitive

Dazzle.FuzzyIndexCursor.props.index
Name:

index

Type:

Dazzle.FuzzyIndex

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The index this cursor is iterating

Dazzle.FuzzyIndexCursor.props.max_matches
Name:

max-matches

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The max number of matches to display

Dazzle.FuzzyIndexCursor.props.query
Name:

query

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The query for the index

Dazzle.FuzzyIndexCursor.props.tables
Name:

tables

Type:

GLib.VariantDict

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The dictionary of character indexes