Package: glib
Function glib:prgname
Lambda Listglib:prgname () SyntaxArgumentsDetails
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 |
2024-10-12