Gio.AppInfoMonitor.get

function get(): Gio.AppInfoMonitor {
    // Gjs wrapper for g_app_info_monitor_get()
}
  

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

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

You must only call GObject.Object.prototype.unref on the return value from under the same main context as you created it.

Since 2.40

Returns

a reference to a Gio.AppInfoMonitor