Util.setPrgname

Sets the name of the program. This name should not be localized, in contrast to g_set_application_name().

If you are using gtk.Application the program name is set in Application.run. In case of GDK or GTK+ it is set in gdk_init(), which is called by gtk_init() and the startup handler. The program name is found by taking the last component of argv[0].

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

struct Util
static
void
setPrgname
(
string prgname
)

Parameters

prgname string

the name of the program.