Gets the name of the program. If you are using GDK or GTK+ the program name is set in gdk_init(), which is called by gtk_init(). The program name is found by taking the last component of argv.
Definition at line 57 of file miscutils.cc.
const char *const prgname = g_get_prgname();
return (prgname) ? std::string(prgname) : std::string();