Class

AstalAppsApps

Description

class AstalApps.Apps : GObject.Object
{
  /* No available fields */
}

This object can be used to query applications. Multipliers can be set to customize AstalAppsScore results from queries which then are summed and sorted accordingly.

Ancestors

Constructors

astal_apps_apps_new
No description available.

Instance methods

astal_apps_apps_fuzzy_score

Calculate a score for an application using fuzzy matching algorithm. Taking this Apps’ include settings into consideration .

astal_apps_apps_exact_score

Calculate a score for an application using exact string algorithm. Taking this Apps’ include settings into consideration .

astal_apps_apps_fuzzy_query

Query the list of applications with a fuzzy matching algorithm.

astal_apps_apps_exact_query

Query the list of applications with a simple string matching algorithm.

astal_apps_apps_reload

Reload the list of Applications.

astal_apps_apps_get_show_hidden
No description available.

astal_apps_apps_set_show_hidden
No description available.

astal_apps_apps_get_list
No description available.

astal_apps_apps_get_min_score
No description available.

astal_apps_apps_set_min_score
No description available.

astal_apps_apps_get_name_multiplier
No description available.

astal_apps_apps_set_name_multiplier
No description available.

astal_apps_apps_get_entry_multiplier
No description available.

astal_apps_apps_set_entry_multiplier
No description available.

astal_apps_apps_get_executable_multiplier
No description available.

astal_apps_apps_set_executable_multiplier
No description available.

astal_apps_apps_get_description_multiplier
No description available.

astal_apps_apps_set_description_multiplier
No description available.

astal_apps_apps_get_keywords_multiplier
No description available.

astal_apps_apps_set_keywords_multiplier
No description available.

astal_apps_apps_get_categories_multiplier
No description available.

astal_apps_apps_set_categories_multiplier
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalApps.Apps:show-hidden

Indicates wether hidden applications should included in queries.

AstalApps.Apps:list

Full list of available applications.

AstalApps.Apps:min-score

The minimum score the application has to meet in order to be included in queries.

AstalApps.Apps:name-multiplier

Extra multiplier to apply when matching the name of an application. Defaults to 2.

AstalApps.Apps:entry-multiplier

Extra multiplier to apply when matching the entry of an application. Defaults to 0.

AstalApps.Apps:executable-multiplier

Extra multiplier to apply when matching the executable of an application. Defaults to 0.5.

AstalApps.Apps:description-multiplier

Extra multiplier to apply when matching the description of an application. Defaults to 0.

AstalApps.Apps:keywords-multiplier

Extra multiplier to apply when matching the keywords of an application. Defaults to 0.5.

AstalApps.Apps:categories-multiplier

Extra multiplier to apply when matching the categories of an application. Defaults to 0.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalAppsAppsClass {
  /* no available fields */
}

No description available.