Gio.DesktopAppInfo.new_from_keyfile

function new_from_keyfile(key_file: GLib.KeyFile): Gio.DesktopAppInfo {
    // Gjs wrapper for g_desktop_app_info_new_from_keyfile()
}
  

Creates a new Gio.DesktopAppInfo.

Since 2.18

key_file

an opened GLib.KeyFile

Returns

a new Gio.DesktopAppInfo or null on error.