SearchView
Object Hierarchy:
Description:
public class SearchView : Object
A view of Individuals which match a given
Query.
The search view supports ‘live’ and ‘snapshot’ search results. Live results will continue to update over a long period of time as
persona stores go online and offline or individuals are edited so they start or stop matching the
Query.
For a shell search provider, for example, snapshot results are appropriate. For a search in a contacts UI, live results are more
appropriate as they will update over time as other edits are made in the application.
In both cases, SearchView.individuals is guaranteed to be correct after
SearchView.prepare finishes.
For live results, continue listening to the
SearchView.individuals_changed_detailed signal.
Since:
0.11.0
Content:
Properties:
Creation methods:
Methods:
- public async void prepare () throws Error
Prepare the view for use.
- public async void unprepare () throws Error
Clean up and release resources used by the search view.
- public async void refresh () throws Error
Refresh the view’s results.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count