AppInfoMonitor.get

Gets the #GAppInfoMonitor for the current thread-default main context.

The #GAppInfoMonitor will emit a "changed" signal in the thread-default main context whenever the list of installed applications (as reported by gio.app_info.AppInfo.getAll) may have changed.

The #GAppInfoMonitor::changed signal will only be emitted once until gio.app_info.AppInfo.getAll (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 gobject.object.ObjectG.unref on the return value from under the same main context as you created it.

class AppInfoMonitor
static
get
()

Return Value

Type: gio.app_info_monitor.AppInfoMonitor

a reference to a #GAppInfoMonitor