Gio.DesktopAppInfo.prototype.get_string

function get_string(key: String): String {
    // Gjs wrapper for g_desktop_app_info_get_string()
}
  

Looks up a string value in the keyfile backing info.

The key is looked up in the "Desktop Entry" group.

Since 2.36

key

the key to look up

Returns

a newly allocated string, or null if the key is not found