Gio.DesktopAppInfo.prototype.get_categories

function get_categories(): String {
    // Gjs wrapper for g_desktop_app_info_get_categories()
}
  

Gets the categories from the desktop file.

Returns

The unparsed Categories key from the desktop file; i.e. no attempt is made to split it by ';' or validate it.