Class

AstalAppsApplication

Description

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

Object representing an applications .desktop file.

Ancestors

Instance methods

astal_apps_application_get_key

Get a value from the .desktop file by its key.

astal_apps_application_launch

Launches this application. The launched application inherits the environment of the launching process.

astal_apps_application_fuzzy_match

Calculate a score for an application using fuzzy matching algorithm.

astal_apps_application_exact_match

Calculate a score using exact string algorithm.

astal_apps_application_get_app
No description available.

astal_apps_application_set_app
No description available.

astal_apps_application_get_frequency
No description available.

astal_apps_application_set_frequency
No description available.

astal_apps_application_get_name
No description available.

astal_apps_application_get_entry
No description available.

astal_apps_application_get_description
No description available.

astal_apps_application_get_wm_class
No description available.

astal_apps_application_get_executable
No description available.

astal_apps_application_get_icon_name
No description available.

astal_apps_application_get_keywords
No description available.

astal_apps_application_get_categories
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalApps.Application:app

The underlying DesktopAppInfo.

AstalApps.Application:frequency

The number of times astal_apps_application_launch() was called on this Application.

AstalApps.Application:name

The name of this Application.

AstalApps.Application:entry

Name of the .desktop of this Application.

AstalApps.Application:description

Description of this Application.

AstalApps.Application:wm-class

StartupWMClass field from the desktop file. This represents the WM_CLASS property of the main window of the application.

AstalApps.Application:executable

Exec field from the desktop file. Note that if you want to launch this Application you should use the [method@ AstalApps.Application.launch] method.

AstalApps.Application:icon-name

Icon field from the desktop file. This is usually a named icon or a path to a file.

AstalApps.Application:keywords

Keywords field from the desktop file.

AstalApps.Application:categories

Categories field from the desktop file.

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 AstalAppsApplicationClass {
  /* no available fields */
}

No description available.