Dazzle.FuzzyIndex¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Dazzle.FuzzyIndex(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_metadata(key)¶
- Parameters:
key (
str
) –- Returns:
A
GLib.Variant
orNone
.- Return type:
GLib.Variant
orNone
Looks up the metadata for key.
- load_file(file, cancellable)¶
- Parameters:
file (
Gio.File
) –cancellable (
Gio.Cancellable
orNone
) –
- Raises:
- Return type:
- load_file_async(file, cancellable, callback, *user_data)¶
- Parameters:
file (
Gio.File
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- load_file_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- query_async(query, max_matches, cancellable, callback, *user_data)¶
- Parameters:
query (
str
) –max_matches (
int
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- query_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Returns:
A
Gio.ListModel
of results.- Return type:
Completes an asynchronous request to
Dazzle.FuzzyIndex.query_async
().