Gio.AppInfo.prototype.get_icon

function get_icon(): Gio.Icon {
    // Gjs wrapper for g_app_info_get_icon()
}
  

Gets the icon for the application.

Returns

the default Gio.Icon for appinfo or null if there is no default icon.