Gio.DesktopAppInfo.prototype.get_filename

function get_filename(): String {
    // Gjs wrapper for g_desktop_app_info_get_filename()
}
  

When info was created from a known filename, return it. In some situations such as the Gio.DesktopAppInfo returned from Gio.DesktopAppInfo.new_from_keyfile, this function will return null.

Since 2.24

Returns

The full path to the file for info, or null if not known.