SkkUserDict

SkkUserDict — File based implementation of Dict with write access.

Synopsis

#define             SKK_TYPE_USER_DICT
SkkUserDict *       skk_user_dict_new                   (const gchar *path,
                                                         const gchar *encoding,
                                                         GError **error);
struct              SkkUserDict;
struct              SkkUserDictClass;

Object Hierarchy

  GObject
   +----SkkDict
         +----SkkUserDict

Properties

  "read-only"                gboolean              : Read

Description

Details

SKK_TYPE_USER_DICT

#define SKK_TYPE_USER_DICT (skk_user_dict_get_type ())

The type for SkkUserDict.


skk_user_dict_new ()

SkkUserDict *       skk_user_dict_new                   (const gchar *path,
                                                         const gchar *encoding,
                                                         GError **error);

Create a new UserDict.

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 UTF-8). [in]

error :

location to store the error occuring, or NULL to ignore

Returns :

a new UserDict

struct SkkUserDict

struct SkkUserDict;

File based implementation of Dict with write access.


struct SkkUserDictClass

struct SkkUserDictClass {
	SkkDictClass parent_class;
};

The class structure for SKK_TYPE_USER_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