|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| m4/ | H | 17-Jul-2007 | - | 2,046 | 1,935 |
| po/ | H | 03-May-2022 | - | 889 | 754 |
| src/ | H | 03-May-2022 | - | 2,730 | 2,200 |
| ABOUT-NLS | H A D | 19-Mar-2007 | 65.9 KiB | 987 | 940 |
| AUTHORS | H A D | 23-Mar-2007 | 158 | 7 | 5 |
| COPYING | H A D | 19-Mar-2007 | 17.6 KiB | 341 | 281 |
| ChangeLog | H A D | 19-Mar-2007 | 69 | 4 | 2 |
| INSTALL | H A D | 19-Mar-2007 | 9.3 KiB | 237 | 179 |
| Makefile.am | H A D | 14-Jul-2007 | 1.2 KiB | 36 | 6 |
| Makefile.in | H A D | 03-May-2022 | 21.5 KiB | 687 | 588 |
| NEWS | H A D | 19-Mar-2007 | 0 | | |
| README | H A D | 20-Jun-2007 | 4.4 KiB | 143 | 95 |
| aclocal.m4 | H A D | 14-Jul-2007 | 260.2 KiB | 7,398 | 6,634 |
| bootstrap.sh | H A D | 19-Mar-2007 | 1.6 KiB | 46 | 16 |
| config.guess | H A D | 20-Apr-2007 | 43.5 KiB | 1,517 | 1,305 |
| config.rpath | H A D | 19-Mar-2007 | 14.5 KiB | 572 | 480 |
| config.sub | H A D | 20-Apr-2007 | 31.9 KiB | 1,623 | 1,479 |
| configure | H A D | 03-May-2022 | 761.4 KiB | 24,008 | 19,231 |
| configure.ac | H A D | 18-May-2007 | 2.1 KiB | 70 | 53 |
| depcomp | H A D | 19-Mar-2007 | 15.6 KiB | 531 | 330 |
| install-sh | H A D | 19-Mar-2007 | 9 KiB | 324 | 189 |
| ltmain.sh | H A D | 11-Mar-2006 | 192.1 KiB | 6,872 | 5,424 |
| m17n-im-config.pc.in | H A D | 26-Mar-2007 | 256 | 11 | 9 |
| missing | H A D | 19-Mar-2007 | 10.8 KiB | 361 | 268 |
| mkinstalldirs | H A D | 19-Mar-2007 | 3.3 KiB | 151 | 102 |
README
1This directory tree holds version 0.9.0 of the m17n-im-config package.
2Copyright (C) 2007
3 National Institute of Advanced Industrial Science and Technology (AIST)
4 Registration Number H15PRO112
5See the end for copying conditions.
6
7(1) What is this package.
8
9This package provides:
10
11(1-1) C library to create a GTK+ widget for per-user configuration of
12input methods provided by the m17n library.
13
14(1-2) Standalone GTK+ program that uses the above widget.
15
16
17(2) How to install.
18
19(2-1) Prerequisite
20
21This package requires these libralies:
22
23 * the m17n library of version 1.3.4 or the later.
24
25 * GTK+ version 2.4.0 or the later
26
27(2-2) From CVS working directory
28
29Run the script "bootstrap.sh" in this directory. It is tested that
30the script run successfully with these versions of autotools.
31
32 libtool-1.5.6
33 automake-1.4-p6
34 autoconf-2.59
35
36Then, proceed to the next step.
37
38(2-3) From the tarball.
39
40Run the following commands:
41
42 % ./configure
43 % make
44 % make install
45
46
47(3) Documentaion
48
49(3-1) Library API
50
51The library libm17n-im-config has these public functions.
52
53GtkWidget *mim_config_new (GCallback func, gpointer data)
54
55 The mim_config_new () function returns a newly created Gtk+
56 widget for for per-user configuration of input methods
57 provided by the m17n library. If the argument FUNC is not
58 NULL, it is called when the configuration status is changed
59 (because some value is changed or reverted by a user). The
60 function must have two arguments; the widget created by this
61 function, and DATA.
62
63 The widget returned must be the argument to the following
64 functions.
65
66 This widget is actually a GtkScrolledWindow widget that
67 contains a GtkTreeView widget. You can get this GtkTreeView
68 widget by mim_config_get_tree_view () function.
69
70gboolean mim_config_modified (GtkWidget *config)
71
72 The mim_config_modified () function checks if there are any
73 unsaved configurations. If any, TRUE is returned. Othewise,
74 FALSE is returned.
75
76gboolean mim_config_default (GtkWidget *config)
77
78 The mim_config_default () function reset all configurations
79 done by a user at the current session, and all customization
80 saved in a per-user customization file to the default state.
81 If there are any configurations actually reverted, TRUE is
82 returned. Othewise FALSE is returned.
83
84gboolean mim_config_revert (GtkWidget *config)
85
86 The mim_config_revert () function reverts all configurations
87 done by a user to the original state. If there are any
88 configurations actually reverted, TRUE is returned. Othewise
89 FALSE is returned.
90
91gboolean mim_config_save (GtkWidget *config)
92
93 The mim_config_save () function saves all configurations done
94 by a user into a per-user customization file. If the file is
95 actually written, TRUE is returned. If there's no configuraion
96 to save, FALSE is returned.
97
98GtkTreeView *mim_config_get_tree_view (GtkWidget *config)
99
100 The mim_config_get_tree_view () function returns the
101 GtkTreeView widget used in the widget created by
102 mim_config_new ().
103
104(3-2) Compiling and Linking
105
106As this package provides pkgconfig data, you can see compiler and
107linker options by the following commands:
108
109% pkg-config --cflags m17n-im-config
110% pkg-config --libs m17n-im-config
111
112(3-3) Usage of the standalone program
113
114The program "m17n-im-config" provides a GUI for per-user configuration
115of input methods of the m17n library. As the GUI is quite straight
116forward, there's nothing we should explain here.
117
118
119----------------------------------------------------------------------
120Copyright information
121
122Copyright (C) 2007
123 National Institute of Advanced Industrial Science and Technology (AIST)
124 Registration Number H15PRO112
125
126This file is part of the m17n-im-config package; a sub-part of the
127m17n library..
128
129The m17n library is free software; you can redistribute it and/or
130modify it under the terms of the GNU Lesser General Public License
131as published by the Free Software Foundation; either version 2.1 of
132the License, or (at your option) any later version.
133
134The m17n library is distributed in the hope that it will be useful,
135but WITHOUT ANY WARRANTY; without even the implied warranty of
136MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
137Lesser General Public License for more details.
138
139You should have received a copy of the GNU Lesser General Public
140License along with the m17n library; if not, write to the Free
141Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
142Boston, MA 02110-1301, USA.
143