GLib.set_application_name

function set_application_name(application_name: String): void {
    // Gjs wrapper for g_set_application_name()
}
  

Sets a human-readable name for the application. This name should be localized if possible, and is intended for display to the user. Contrast with GLib.set_prgname, which sets a non-localized name. GLib.set_prgname will be called automatically by gtk_init(), but GLib.set_application_name will not.

Note that for thread safety reasons, this function can only be called once.

The application name will be used in contexts such as error messages, or when displaying an application's name in the task list.

Since 2.2

application_name

localized name of the application