1 /* m17n-X.h -- header file for the GUI API on X Windows.
2 Copyright (C) 2003, 2004
3 National Institute of Advanced Industrial Science and Technology (AIST)
4 Registration Number H15PRO112
6 This file is part of the m17n library.
8 The m17n library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public License
10 as published by the Free Software Foundation; either version 2.1 of
11 the License, or (at your option) any later version.
13 The m17n library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public
19 License along with the m17n library; if not, write to the Free
20 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27 #include <X11/Xutil.h>
28 #include <X11/Xresource.h>
37 extern MSymbol Mdisplay;
38 extern MSymbol Mscreen;
39 extern MSymbol Mdrawable;
40 extern MSymbol Mwidget;
41 extern MSymbol Mdepth;
42 extern MSymbol Mcolormap;
46 extern MInputDriver minput_xim_driver;
49 /*** @ingroup m17nInputMethodWin */
51 @brief Structure pointed to by the argument $ARG of the function minput_open_im ().
53 The type #MInputXIMArgIM is the structure pointed to by the
54 argument $ARG of the function minput_open_im () for the foreign
55 input method of name #Mxim. */
58 @brief ´Ø¿ô minput_open_im () ¤Î°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½Â¤ÂÎ.
60 #MInputXIMArgIM ·¿¤Ï¡¢´Ø¿ô minput_open_im () ¤¬Ì¾Á° #Mxim ¤ò»ý
61 ¤Ä³°ÉôÆþÎϥ᥽¥Ã¥É¤òÀ¸À®¤¹¤ëºÝ¤Ë°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½Â¤ÂΤÇ
66 /***en The meaning of the following four members are the same as
67 arguments to XOpenIM (). */
68 /***ja °Ê²¼¤Î£´¤Ä¤Î¥á¥ó¥Ð¤Î°ÕÌ£¤Ï¡¢XOpenIM () ¤Î°ú¿ô¤Î°ÕÌ£¤ÈƱ¤¸¤Ç¤¢
71 /***en Display of the client. */
72 /***ja ¥¯¥é¥¤¥¢¥ó¥È¤Î¥Ç¥£¥¹¥×¥ì¥¤ */
75 /***en Pointer to the X resource database. */
76 /***ja X ¥ê¥½¡¼¥¹¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤Î¥Ý¥¤¥ó¥¿ */
79 /***en Full class name of the application. */
80 /***ja ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î´°Á´¤Ê¥¯¥é¥¹Ì¾ */
83 /***en Full resource name of the application. */
84 /***ja ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î´°Á´¤Ê¥ê¥½¡¼¥¹Ì¾ */
87 /***en Locale name under which an XIM is opened. */
88 /***ja XIM¤¬¥ª¡¼¥×¥ó¤µ¤ì¤¿¥í¥±¡¼¥ë̾ */
91 /***en Arguments to XSetLocaleModifiers (). */
92 /***ja XSetLocaleModifiers () ¤Î°ú¿ô */
97 /*** @ingroup m17nInputMethodWin */
99 @brief Structure pointed to by the argument $ARG of the function minput_create_ic ().
101 The type #MInputXIMArgIC is the structure pointed to by the
102 argument $ARG of the function minput_create_ic () for the foreign
103 input method of name #Mxim. */
106 @brief ´Ø¿ô minput_create_ic () ¤Î°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½Â¤ÂÎ.
108 #MInputXIMArgIC ·¿¤Ï¡¢´Ø¿ô minput_create_ic () ¤¬Ì¾Á° #Mxim ¤ò
109 »ý¤Ä³°ÉôÆþÎϥ᥽¥Ã¥ÉÍѤ˸ƤФì¤ëºÝ¤Ë¡¢°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½
114 /***en Used as the arguments of @c XCreateIC following @c
115 XNInputStyle. If this is zero, ( @c XIMPreeditNothing | @c
116 XIMStatusNothing) is used, and <preedit_attrs> and
117 <status_attrs> are set to @c NULL. */
118 /***ja @c XCreateIC ¤Î @c XNInputStyle ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£
119 ¥¼¥í¤Ê¤é¤Ð¡¢ ( @c XIMPreeditNothing | @c XIMStatusNothing) ¤¬ÍÑ
120 ¤¤¤é¤ì¡¢ <preedit_attrs> ¤È <status_attrs> ¤Ï @c NULL ¤ËÀßÄꤵ¤ì
123 XIMStyle input_style;
124 /***en Used as the argument of @c XCreateIC following @c XNClientWindow. */
125 /***ja @c XCreateIC ¤Î @c XNClientWindow ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
129 /***en Used as the argument of @c XCreateIC following @c XNFocusWindow. */
130 /***ja @c XCreateIC ¤Î @c XNFocusWindow ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
133 /***en If non- @c NULL, used as the argument of @c XCreateIC following
134 @c XNPreeditAttributes. */
135 /***ja @c NULL¤Ç¤Ê¤±¤ì¤Ð¡¢ @c XCreateIC following ¤Î@c
136 XNPreeditAttributes ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
138 XVaNestedList preedit_attrs;
139 /***en If non- @c NULL, used as the argument of @c XCreateIC following
140 @c XNStatusAttributes. */
141 /***ja @c NULL¤Ç¤Ê¤±¤ì¤Ð¡¢ @c XCreateIC following ¤Î @c
142 XNStatusAttributes ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
144 XVaNestedList status_attrs;
152 #endif /* not _M17N_X_H_ */