Function

GLibget_application_name

Declaration

const gchar*
g_get_application_name (
  void
)

Description

Gets a human-readable name for the application, as set by g_set_application_name(). This name should be localized if possible, and is intended for display to the user. Contrast with g_get_prgname(), which gets a non-localized name. If g_set_application_name() has not been called, returns the result of g_get_prgname() (which may be NULL if g_set_prgname() has also not been called).

Available since:2.2

Return value

Returns: utf8
 

Human-readable application name. May return NULL.

 The data is owned by the called function.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.