set_application_name


Description:

[ Version ( since = "2.2" ) ]
[ CCode ( cname = "g_set_application_name" ) ]
public void set_application_name (string application_name)

Sets a human-readable name for the application.

This name should be localized if possible, and is intended for display to the user. Contrast with set_prgname, which sets a non-localized name. set_prgname will be called automatically by gtk_init, but set_application_name 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 an application's name in the task list.

Parameters:

application_name

localized name of the application


Namespace: GLib.Environment
Package: glib-2.0