Logo Search packages:      
Sourcecode: ardour version File versions  Download package

std::string Glib::get_prgname (  ) 

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[0].

The name of the program.

Definition at line 57 of file miscutils.cc.

  const char *const prgname = g_get_prgname();
  return (prgname) ? std::string(prgname) : std::string();

Generated by  Doxygen 1.6.0   Back to index