TomoeConfig

TomoeConfig — An object of configuration file.

Functions

Properties

gchar * filename Read / Write / Construct

Types and Values

struct TomoeConfig

Object Hierarchy

    GObject
    ╰── TomoeConfig

Description

Functions

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);

Types and Values

struct TomoeConfig

struct TomoeConfig;

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

Property Details

The “filename” property

  “filename”                 gchar *

The filename for storing user settings.

Flags: Read / Write / Construct

Default value: NULL