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.
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 .
Properties
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.