SkkFileDict

SkkFileDict — Read-only file based implementation of Dict.

Synopsis

#define             SKK_TYPE_FILE_DICT
SkkFileDict *       skk_file_dict_new                   (const gchar *path,
                                                         const gchar *encoding,
                                                         GError **error);
struct              SkkFileDict;
struct              SkkFileDictClass;

Object Hierarchy

  GObject
   +----SkkDict
         +----SkkFileDict

Properties

  "read-only"                gboolean              : Read

Description

Details

SKK_TYPE_FILE_DICT

#define SKK_TYPE_FILE_DICT (skk_file_dict_get_type ())

The type for SkkFileDict.


skk_file_dict_new ()

SkkFileDict *       skk_file_dict_new                   (const gchar *path,
                                                         const gchar *encoding,
                                                         GError **error);

Create a new FileDict.

GError will be returned in error if opening the file is failed

path :

a path to the file. [in]

encoding :

encoding of the file (default EUC-JP). [in]

error :

location to store the error occuring, or NULL to ignore

Returns :

a new FileDict

struct SkkFileDict

struct SkkFileDict;

Read-only file based implementation of Dict.


struct SkkFileDictClass

struct SkkFileDictClass {
	SkkDictClass parent_class;
};

The class structure for SKK_TYPE_FILE_DICT. All the fields in this structure are private and should never be accessed directly.

SkkDictClass parent_class;

the parent class structure

Property Details

The "read-only" property

  "read-only"                gboolean              : Read

read-only.

Default value: FALSE