|
Namespaces |
| namespace | Glib |
Functions |
| Glib::ustring | get_application_name () |
| | Gets a human-readable name for the application, as set by Glib::set_application_name().
|
| void | set_application_name (const Glib::ustring& application_name) |
| | Sets a human-readable name for the application.
|
| std::string | get_prgname () |
| | Gets the name of the program.
|
| void | set_prgname (const std::string& prgname) |
| | Sets the name of the program.
|
| std::string | getenv (const std::string& variable, bool& found) |
| | Returns an environment variable.
|
| std::string | getenv (const std::string& variable) |
| | Returns an environment variable.
|
| std::string | get_user_name () |
| | Gets the user name of the current user.
|
| std::string | get_real_name () |
| | Gets the real name of the user.
|
| std::string | get_home_dir () |
| | Gets the current user's home directory.
|
| std::string | get_tmp_dir () |
| | Gets the directory to use for temporary files.
|
| std::string | get_current_dir () |
| | Gets the current directory.
|
| bool | path_is_absolute (const std::string& filename) |
| | Returns true if the given filename is an absolute file name, i.e. it contains a full path from the root directory such as "/usr/local" on UNIX or "C:\\windows" on Windows systems.
|
| std::string | path_skip_root (const std::string& filename) |
| | Returns the remaining part of filename after the root component, i.e. after the "/" on UNIX or "C:\\" on Windows.
|
| std::string | path_get_basename (const std::string& filename) |
| | Gets the name of the file without any leading directory components.
|
| std::string | path_get_dirname (const std::string& filename) |
| | Gets the directory components of a file name.
|
| std::string | build_filename (const Glib::ArrayHandle<std::string>& elements) |
| | Creates a filename from a series of elements using the correct separator for filenames.
|
| std::string | build_filename (const std::string& elem1, const std::string& elem2) |
| | Creates a filename from two elements using the correct separator for filenames.
|
| std::string | build_path (const std::string& separator, const Glib::ArrayHandle<std::string>& elements) |
| | Creates a path from a series of elements using separator as the separator between elements.
|
| std::string | find_program_in_path (const std::string& program) |
| | Locates the first executable named program in the user's path, in the same way that execvp() would locate it.
|