GLib.Environment – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
Environment
atexit
find_program_in_path
get_application_name
get_current_dir
get_home_dir
get_host_name
get_prgname
get_real_name
get_system_config_dirs
get_system_data_dirs
get_tmp_dir
get_user_cache_dir
get_user_config_dir
get_user_data_dir
get_user_name
get_user_special_dir
get_variable
list_variables
set_application_name
set_current_dir
set_prgname
set_variable
unset_variable
GLib.Environment
Description:
Content:
Functions:
public
unowned
string
?
get_application_name
()
public
void
set_application_name
(
string
application_name)
public
unowned
string
get_prgname
()
public
void
set_prgname
(
string
application_name)
public
unowned
string
?
get_variable
(
string
variable)
public
bool
set_variable
(
string
variable,
string
value,
bool
overwrite)
public
void
unset_variable
(
string
variable)
public
string
[]
list_variables
()
public
unowned
string
get_user_name
()
public
unowned
string
get_real_name
()
public
unowned
string
get_user_cache_dir
()
public
unowned
string
get_user_data_dir
()
public
unowned
string
get_user_config_dir
()
public
unowned
string
get_user_special_dir
(
UserDirectory
directory)
public
weak
string
[]
get_system_data_dirs
()
public
weak
string
[]
get_system_config_dirs
()
public
unowned
string
get_host_name
()
public
unowned
string
get_home_dir
()
public
unowned
string
get_tmp_dir
()
public
string
get_current_dir
()
public
string
?
find_program_in_path
(
string
program)
public
void
atexit
(
VoidFunc
func)
public
int
set_current_dir
(
string
path)