GLib.set_prgname

function set_prgname(prgname: String): void {
    // Gjs wrapper for g_set_prgname()
}
  

Sets the name of the program. This name should not be localized, in contrast to GLib.set_application_name.

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

prgname

the name of the program.