Part of kiwi.ui.search View In Hierarchy
A search container is a widget which consists of:
StringSearchFilter
)
SearchResult
)
kiwi.db.query.QueryExecuter
)
Additionally you can add a number of search filters to the
SearchContainer. You can chose if you want to add the filter in the
top-left corner of bottom, see SearchFilterPosition
Method | __init__ | Create a new SearchContainer object. |
Method | do_set_property | Undocumented |
Method | do_get_property | Undocumented |
Method | do_set_child_property | Undocumented |
Method | do_get_child_property | Undocumented |
Method | add_filter | Adds a search filter |
Method | set_filter_position | Set the the filter position. |
Method | get_filter_position | Get filter by position. |
Method | set_query_executer | Ties a QueryExecuter instance to the SearchContainer class |
Method | get_query_executer | Fetchs the QueryExecuter for the SearchContainer |
Method | get_primary_filter | Fetches the primary filter for the SearchContainer. |
Method | search | Starts a search. |
Method | set_auto_search | Enables/Disables auto search which means that the search result box |
Method | set_text_field_columns | Undocumented |
Method | disable_search_entry | Disables the search entry |
Method | set_summary_label | Adds a summary label to the result set |
Method | _on_search_button__clicked | Undocumented |
Method | _on_search_entry__activate | Undocumented |
Method | _on_search_filter__changed | Undocumented |
Method | _create_ui | Undocumented |
Parameters | columns | a list of kiwi.ui.objectlist.Column
|
chars | maximum number of chars used by the search entry |
Parameters | search_filter | the search filter |
postition | a SearchFilterPosition
enum
| |
columns | ||
callback |
Parameters | search_filter | |
position |
Parameters | querty_executer | a querty executer
(type: a QueryExecuter
subclass
) |
Returns | a querty executer
(type: a QueryExecuter
subclass
) |
Returns | the primary filter |
Parameters | auto_search | True to enable, False to disable |