|
发表于 2002-11-18 09:30:37
|
显示全部楼层
有呀,不过我只知道gnome下的
设置:
gnome_config_set_string(key_path,key_word)
gnome_config_set_bool(key_path,key_word)
gnome_config_set_int(key_path,key_word)
gnome_config_set_float(key_path,key_word)
gnome_config_set_string(key_path,key_word)
上面函数执行后要执行gnome_config_sync()把配置值
保存到配置文件里($HOME/.gnome/xxxxxx或$HOME/.gnome2/xxxxx)
读取:
gnome_config_get_string(key_path)
gnome_config_get_bool(key_path)
gnome_config_get_int(key_path)
gnome_config_get_float(key_path)
gnome_config_get_string(key_path) |
|