Package: glib

Function g-application-name

Lambda List

g-application-name ()

Syntax

(g-application-name) => name
(setf (g-application-name) name)

Arguments

name -- a string with the localized name of the application

Details

Accessor of a human readable name for the application. This name should be localized if possible, and is intended for display to the user. Contrast with the g-prgname function, which gets a non-localized name. If the (setf g-application-name) function has not been called, returns the result of the g-prgname function, which may be nil if the (setf g-prgname) function has also not been called.

The g-prgname function will be called automatically by gtk_init(), but the g-application-name function 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 the name of an application in the task list.
 

See also

*2021-10-21