KeyFile
Object Hierarchy:
Description:
[ Compact ]
[ Version ( since = "2.32" ) ]
public class KeyFile
Content:
Creation methods:
Methods:
- public void set_list_separator (char separator)
- public bool load_from_bytes (Bytes bytes, KeyFileFlags flags) throws KeyFileError
- public bool load_from_file (string file, KeyFileFlags flags) throws KeyFileError, FileError
- public bool load_from_dirs (string file, string[] search_dirs, out string full_path, KeyFileFlags flags) throws KeyFileError, FileError
- public bool load_from_data (string data, size_t length, KeyFileFlags flags) throws KeyFileError
- public bool load_from_data_dirs (string file, out string full_path, KeyFileFlags flags) throws KeyFileError, FileError
- public string to_data (out size_t length = null, out Error error = null)
- public string get_start_group ()
- public string[] get_groups ()
- public string[] get_keys (string group_name) throws KeyFileError
- public bool has_group (string group_name)
- public bool has_key (string group_name, string key) throws KeyFileError
- public string get_value (string group_name, string key) throws KeyFileError
- public string get_string (string group_name, string key) throws KeyFileError
- public string get_locale_string (string group_name, string key, string? locale = null) throws KeyFileError
- public bool get_boolean (string group_name, string key) throws KeyFileError
- public int get_integer (string group_name, string key) throws KeyFileError
- public int64 get_int64 (string group_name, string key) throws KeyFileError
- public uint64 get_uint64 (string group_name, string key) throws KeyFileError
- public double get_double (string group_name, string key) throws KeyFileError
- public string[] get_string_list (string group_name, string key) throws KeyFileError
- public string[] get_locale_string_list (string group_name, string key, string? locale = null) throws KeyFileError
- public bool[] get_boolean_list (string group_name, string key) throws KeyFileError
- public int[] get_integer_list (string group_name, string key) throws KeyFileError
- public double[] get_double_list (string group_name, string key) throws KeyFileError
- public string get_comment (string? group_name, string? key) throws KeyFileError
- public bool save_to_file (string filename) throws FileError
- public void set_value (string group_name, string key, string value)
- public void set_string (string group_name, string key, string str)
- public void set_locale_string (string group_name, string key, string locale, string str)
- public void set_boolean (string group_name, string key, bool value)
- public void set_integer (string group_name, string key, int value)
- public void set_int64 (string group_name, string key, int64 value)
- public void set_uint64 (string group_name, string key, uint64 value)
- public void set_double (string group_name, string key, double value)
- public void set_string_list (string group_name, string key, string[] list)
- public void set_locale_string_list (string group_name, string key, string locale, string[] list)
- public void set_boolean_list (string group_name, string key, bool[] list)
- public void set_integer_list (string group_name, string key, int[] list)
- public void set_double_list (string group_name, string key, double[] list)
- public void set_comment (string? group_name, string? key, string comment) throws KeyFileError
- public void remove_group (string group_name) throws KeyFileError
- public void remove_key (string group_name, string key) throws KeyFileError
- public void remove_comment (string group_name, string key) throws KeyFileError