# Class k.u.s.SearchSlaveDelegate(SlaveDelegate):

Part of kiwi.ui.search View In Hierarchy

No class docstring

Method | __init__ | Create a new SearchSlaveDelegate object.
Method | add_filter | See `SearchSlaveDelegate.add_filter`
Method | set_query_executer | See `SearchSlaveDelegate.set_query_executer`
Method | set_text_field_columns | See `SearchSlaveDelegate.set_text_field_columns`
Method | get_primary_filter | Fetches the primary filter of the SearchSlaveDelegate
Method | focus_search_entry | Grabs the focus of the search entry
Method | refresh | Triggers a search again with the currently selected inputs
Method | clear | Clears the result list
Method | disable_search_entry | Disables the search entry
Method | set_summary_label | See `SearchContainer.set_summary_label`
Method | get_columns | This needs to be implemented in a subclass

Inherited from SlaveView (via SlaveDelegate):

Method | _get_notebooks | Undocumented
Method | _check_reserved | Undocumented
Method | _get_toplevel | Undocumented
Method | get_glade_adaptor | Special init code that subclasses may want to override.
Method | on_attach | Hook function called when attach_slave is performed on slave views.
Method | on_startup | This is a virtual method that can be customized by classes that
Method | get_toplevel | Returns the toplevel widget in the view
Method | get_widget | Retrieves the named widget from the View
Method | set_controller | Sets the view's controller, checking to see if one has already
Method | show_and_loop | Runs show() and runs the GTK+ event loop. If the parent
Method | show | Shows the toplevel widget
Method | show_all | Shows all widgets attached to the toplevel widget
Method | focus_toplevel | Focuses the toplevel widget in the view
Method | focus_topmost | Looks through widgets specified (if no widgets are specified,
Method | get_topmost_widget | A real hack; returns the widget that is most to the left and
Method | _attach_callbacks | Undocumented
Method | attach_slave | Attaches a slaveview to the current view, substituting the
Method | get_sizegroups | Get a list of sizegroups for the current view.
Method | _merge_sizegroup | Undocumented
Method | detach_slave | Detatch a slave called name from view
Method | _attach_groups | Undocumented
Method | get_slave | Undocumented
Method | connect_multiple | Connect the same handler to the specified signal for a number of
Method | disconnect_autoconnected | Disconnect handlers previously connected with
Method | handler_block | Undocumented
Method | handler_unblock | Undocumented
Method | add_proxy | Add a proxy to this view that automatically update a model when
Method | _on_child__validation_changed | Undocumented
Method | _on_notebook_slave__validation_changed | Undocumented
Method | check_and_notify_validity | Undocumented
Method | force_validation | Undocumented
Method | register_validate_function | The signature of the validate function is:

Inherited from BaseController (via SlaveDelegate):

Method | on_key_press | The keypress handler, which dispatches keypresses to the
Method | get_parent | parent: the correspondent parent for the controller
Method | set_parent | parent: the correspondent parent for the controller
Method | get_view | view: the correspondent view for the controller
Method | set_view | view: the correspondent view for the controller
Method | set_keyactions | Sets the keyactions mapping. See the constructor
Method | update_keyactions | XXX
Method | _get_all_methods | Undocumented

def __init__(self, columns):
overrides kiwi.ui.delegates.SlaveDelegate.__init__
Create a new SearchSlaveDelegate object.

Instance Variables | results | the results list of the container
| search | the `SearchContainer`

def add_filter(self, search_filter, position=SearchFilterPosition.BOTTOM, columns=None, callback=None):
See `SearchSlaveDelegate.add_filter`

def set_query_executer(self, querty_executer):
See `SearchSlaveDelegate.set_query_executer`

def set_text_field_columns(self, columns):
See `SearchSlaveDelegate.set_text_field_columns`

def get_primary_filter(self):
Fetches the primary filter of the SearchSlaveDelegate

Returns | primary filter

def focus_search_entry(self):
Grabs the focus of the search entry

def refresh(self):
Triggers a search again with the currently selected inputs

def clear(self):
Clears the result list

def disable_search_entry(self):
Disables the search entry

def set_summary_label(self, column, label='Total:', format='%s'):
See `SearchContainer.set_summary_label`

def get_columns(self):
This needs to be implemented in a subclass

Returns | columns (type: list of `kiwi.ui.objectlist.Column` )