Gio.AppInfo.get_all_for_type

function get_all_for_type(content_type: String): Array(Gio.AppInfo) {
    // Gjs wrapper for g_app_info_get_all_for_type()
}
  

Gets a list of all #GAppInfos for a given content type, including the recommended and fallback #GAppInfos. See Gio.app_info_get_recommended_for_type and Gio.app_info_get_fallback_for_type.

content_type

the content type to find a Gio.AppInfo for

Returns

GLib.List of #GAppInfos for given content_type or null on error.