ulauncher.search package

Submodules

ulauncher.search.BaseSearchMode module

class ulauncher.search.BaseSearchMode.BaseSearchMode

Bases: object

get_default_items()

Returns a list of default result items that should be displayed if no results found

get_searchable_items()

Returns a list of result items that can be looked up by name or keyword

handle_key_press_event(widget, event, query)
Parameters:
  • widget (Gdk.Widget) –
  • event (Gdk.EventKey) –
  • query (Query) –
Return type:

BaseAction

handle_query(query)
Return type:BaseAction
is_enabled(query)

Return True if mode should be enabled for a query

on_query_change(query)

Triggered when user changes a search query

ulauncher.search.Query module

class ulauncher.search.Query.Query

Bases: unicode

Parses user’s query

get_argument(default=None)
get_keyword()
is_mode_active()

Mode is active when query starts with keyword + space

ulauncher.search.Search module

ulauncher.search.SortedList module

Module contents