Gio.AppInfo.prototype.get_id
function get_id(): String { // Gjs wrapper for g_app_info_get_id() }
Gets the ID of an application. An id is a string that identifies the application. The exact format of the id is platform dependent. For instance, on Unix this is the desktop file id from the xdg menu specification.
Note that the returned ID may be null, depending on how the appinfo has been constructed.
- Returns
a string containing the application's ID.