GLib.get_application_name

function get_application_name(): String {
    // Gjs wrapper for g_get_application_name()
}
  

Gets a human-readable name for the application, as set by GLib.set_application_name. This name should be localized if possible, and is intended for display to the user. Contrast with GLib.get_prgname, which gets a non-localized name. If GLib.set_application_name has not been called, returns the result of GLib.get_prgname (which may be null if GLib.set_prgname has also not been called).

Since 2.2

Returns

human-readable application name. may return null