RB.RhythmDBQueryResults

g GObject.GInterface GObject.GInterface RB.RhythmDBQueryResults RB.RhythmDBQueryResults GObject.GInterface->RB.RhythmDBQueryResults

Implementations:

RB.RhythmDBQueryModel, RB.RhythmDBQueryResultList

Methods

add_results (entries)

query_complete ()

Virtual Methods

do_add_results (entries)

do_query_complete ()

Properties

None

Signals

None

Fields

None

Class Details

class RB.RhythmDBQueryResults
Bases:

GObject.GInterface

Structure:

RB.RhythmDBQueryResultsIface

add_results(entries)
Parameters:

entries ([RB.RhythmDBEntry]) – GLib.PtrArray containing RB.RhythmDBEntry results

Provides a new set of query results. References must be taken on the entries.

query_complete()

Called when the query is complete and all entries that match the query have been supplied to RB.RhythmDBQueryResults.add_results. If the object implementing this interface needs to identify newly added or changed entries that match the query, it needs to use the entry-added, entry-deleted and entry-changed signals from RB.RhythmDB.

do_add_results(entries) virtual
Parameters:

entries ([RB.RhythmDBEntry]) – GLib.PtrArray containing RB.RhythmDBEntry results

Provides a new set of query results. References must be taken on the entries.

do_query_complete() virtual

Called when the query is complete and all entries that match the query have been supplied to RB.RhythmDBQueryResults.add_results. If the object implementing this interface needs to identify newly added or changed entries that match the query, it needs to use the entry-added, entry-deleted and entry-changed signals from RB.RhythmDB.