Package: glib

Function g-prgname

Lambda List

g-prgname ()

Syntax

(g-prgname) => prgname
(setf (g-prgname) prgname)

Arguments

prgname -- a string with the name of the program

Details

Accessor of the name of the program. This name should not be localized, contrast with the g-application-name function. If you are using GDK or GTK the program name is set in the gdk_init() function, which is called by the gtk_init() function. The program name is found by taking the last component of the first command line argument.

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

See also

*2021-10-8