TomoeConfig

TomoeConfig — An object of configuration file.

Synopsis

struct              TomoeConfig;
TomoeConfig *       tomoe_config_new                    (const gchar *config_file);
const gchar *       tomoe_config_get_filename           (TomoeConfig *config);
const gchar *       tomoe_config_get_user_dict_name     (TomoeConfig *config);
TomoeShelf *        tomoe_config_make_shelf             (TomoeConfig *config,
                                                         const gchar *language);
const gchar *const * tomoe_config_get_languages         (TomoeConfig *config);

Object Hierarchy

  GObject
   +----TomoeConfig

Properties

  "filename"                 gchar*                : Read / Write / Construct

Description

Details

struct TomoeConfig

struct TomoeConfig;

The TomoeConfig struct contains only private fields and should not be directly accessed.


tomoe_config_new ()

TomoeConfig *       tomoe_config_new                    (const gchar *config_file);


tomoe_config_get_filename ()

const gchar *       tomoe_config_get_filename           (TomoeConfig *config);


tomoe_config_get_user_dict_name ()

const gchar *       tomoe_config_get_user_dict_name     (TomoeConfig *config);


tomoe_config_make_shelf ()

TomoeShelf *        tomoe_config_make_shelf             (TomoeConfig *config,
                                                         const gchar *language);


tomoe_config_get_languages ()

const gchar *const * tomoe_config_get_languages         (TomoeConfig *config);

Property Details

The "filename" property

  "filename"                 gchar*                : Read / Write / Construct

The filename for storing user settings.

Default value: NULL