AppInfoMonitor

Added in version 2.40.

class AppInfoMonitor(**properties: Any)

Superclasses: Object

Constructors:

AppInfoMonitor(**properties)

Methods

class AppInfoMonitor
get() AppInfoMonitor

Gets the AppInfoMonitor for the current thread-default main context.

The AppInfoMonitor will emit a “changed” signal in the thread-default main context whenever the list of installed applications (as reported by get_all()) may have changed.

The AppInfoMonitor::changed signal will only be emitted once until get_all() (or another ``g_app_info_``*() function) is called. Doing so will re-arm the signal ready to notify about the next change.

You must only call unref() on the return value from under the same main context as you created it.

Added in version 2.40.

Signals

class AppInfoMonitor.signals
changed() None

Signal emitted when the app info database changes, when applications are installed or removed.

Added in version 2.40.