XOpenIM(3X11) | XLIB FUNCTIONS | XOpenIM(3X11) |
̾??¶
XOpenIM, XCloseIM, XSetIMValues, XGetIMValues, XDisplayOfIM, XLocaleOfIM, XRegisterIMInstantiateCallback, XUnregisterIMInstantiateCallback - ???ϥ?å?(input method)?Υ????ץ????????Ⱦ????μ??????Ԥʤ?
????¶
XIM XOpenIM(display, db, res_name,
res_class)
Display *display;
XrmDatabase db;
char *res_name;
char *res_class;
Status XCloseIM(im)
XIM im;
char * XSetIMValues(im, ...)
XIM im;
char * XGetIMValues(im, ...)
XIM im;
Display * XDisplayOfIM(im)
XIM im;
char * XLocaleOfIM(im)
XIM im;
Bool XRegisterIMInstantiateCallback(display, db,
res_name, res_class, callback, client_data)
Display *display;
XrmDatabase db;
char *res_name;
char *res_class;
XIMProc callback;
XPointer *client_data;
Bool XUnregisterIMInstantiateCallback(display, db,
res_name, res_class, callback, client_data)
Display *display;
XrmDatabase db;
char *res_name;
char *res_class;
XIMProc callback;
XPointer *client_data;
??????¶
- callback
- ???ϥ?åɤΥ????????????Хå??ؤΥݥ??????ꤹ?롣
- client_data
- ?ղ?Ū?ʥ??饤?????ȥǡ????????ꤹ?롣
- db
- ??????ǡ????١????ؤΥݥ??????ꤹ?롣
- display
- X ?????Фؤ???³?????ꤹ?롣
- im
- ???ϥ?åɤ????ꤹ?롣
- res_class
- ???ץꥱ?????????δ????ʥ??饹̾(full class name)?????ꤹ?롣
- res_name
- ???ץꥱ?????????δ????ʥ????̾(full resource name)?????ꤹ?롣
- ...
- to XIM ???ͤ????????뤤?????ꤹ?뤿???β???Ĺ???????ꥹ?Ȥ????ꤹ?롣
????¶
?ؿ? XOpenIM ?ϸ??ߤΥ????????ȥ??ǥ??ե??????????˰??פ??????ϥ?åɤ??ץ??? ?롣 ???ߤΥ????????ȥ??ǥ??ե??????ϥ????ץ????????ϥ?åɤȴ?Ϣ?Ť????? ?롣 ???ϥ?åɤ˴?Ϣ?դ????줿??????????ưŪ???ѹ????뤳?ȤϤǤ??ʤ??? ???ʤ?????Ϳ?????줿???ϥ?åɤȴ?Ϣ?դ??????Ƥ???Ǥ?դ? ???ϥ????ƥ????Ȥ??Ф??? XmbLookupString ?? XwcLookupString ???֤?ʸ?????ϡ????ϥ?åɤ??????ץ줿?????Υ????????ǥ????? ?????롣
???θƤӽФ??????????롢???ꤵ?줿???ϥ?åɤϡ????ߤΥ????????? ???Ť??Ƽ??̤????롣 XOpenIM ?ϸ??ߤΥ??????????б??????ǥե????Ȥ????ϥ?åɤ?ǧ?????롣 ???Υǥե????Ȥ????ϥ?åɥ??ǥ??ե????????Ф??? XSetLocaleModifiers ???Ѥ????ѹ????뤳?Ȥ??Ǥ??롣
?????? db ?ϡ????ϥ?åɤ???ʬ?Υץ饤?١??Ȥʥ??????Ĵ?٤뤿???˻? ?Ѥ?????????ǡ????١????Ǥ??롣 ???Υǡ????١??????Ѥ????տޤϡ????ϥ????ƥ????Ȥ??? IC ?ͤ??????Ǥ??? ?ͤ????뤳?Ȥˤ????ΤǤϤʤ??? ?⤷ db ?? NULL ?ʤ??С??ǡ????١????????ϥ?åɤ??Ϥ????ʤ???
?????? res_name ?? res_class ?Ǥϥ??ץꥱ?????????Υ????̾?ȥ??饹?? ???ꤹ?롣 ???????ϡ????ϥ?åɤ??Ф????????????????Ƥ????ϥ????ƥ????Ȥ˶??? ?Υ??????Ĵ?٤??ݤˡ????ϥ?åɤ??ץ??ե??å????Ȥ??ƻ??Ѥ??????? ?Ǥ??롣 ?????̾?ȥ??饹?˻Ȥ?????ʸ???ϡ?X ?ݡ????֥?ʸ???????˴ޤޤ??????? ?Ǥʤ????Фʤ??ʤ??? res_name ?? res_class ?? NULL ?Ǥ????С?Ĵ?٤???????????λ????ϴ??? ?ˤϤǤ??ʤ???
?????? res_name ?? res_class ?ϡ? XOpenIM ?θƤӽФ??θ??ˤ?¸?ߤ????Ȥ??????Ǥ??ʤ??? ???ꤷ????????ǡ????١????ϡ????ϥ?åɤ?¸?ߤ?????¸?ߤ??????Τ? ?????Ǥ??롣
XOpenIM ?ϡ????ϥ?åɤ????Ȥ??Ǥ??ʤ????? NULL ???֤???
?ؿ? XCloseIM ?ϻ??ꤷ?????ϥ?åɤ??Ĥ??롣
?ؿ? XSetIMValues ?ϡ????ꤷ?????ϥ?åɤ?°???????ꤹ?뤿???ˡ?????Ĺ???????ꥹ?? ?ץ??????ߥ??ե??????????äƤ??롣 ???δؿ????????ξ????? NULL ???֤????????Ǥʤ??????ˤϡ? ?????Ǥ??ʤ??ä??ǽ??ΰ???????̾?????֤??? Xlib ?ϡ?Ϳ?????줿?ꥹ?ȤΤ??????????˼??Ԥ??????????????????? ???????????ꤷ?ʤ??? ?ꥹ?????Ǽ??Ԥ????????????????ˤ??????Ƥΰ????????????????ꤵ???롣
The ?ؿ? XGetIMValues ?ϻ??ꤷ?????ϥ?åɤΥץ??ѥƥ????ե??????????䤤???碌?뤿???ˡ??? ??Ĺ???????ꥹ?ȥץ??????ߥ??ե???????Ϳ???롣 ???δؿ??????????ˤ? NULL ???֤??? ?????Ǥʤ??????ˤϡ??????˼??Ԥ????ǽ??ΰ???????̾?????֤???
???줾???? XIM ?ͤΰ?????(̾????³??)?ϡ?XIM ?ͤ???¸???????ΰ????ؤ??? ?????Фʤ??ʤ??? ?ĤޤꡢXIM ?ͤη??? T ?Ǥ????С????????η??? T* ?Ǥʤ????Фʤ??ʤ??? ?⤷??T ???Τ??Τ??ݥ????Ǥ????С? XGetIMValues ?ϼºݤΥǡ???????¸???????????????????ơ????Υǡ????ؤΥݥ??? ?֤??? XFree ???ȤäƤ??Υǡ??????????Τϥ??饤?????Ȥ???Ǥ?Ǥ??롣
?ؿ? XDisplayOfIM ?ϻ??ꤷ?????ϥ?åɤ˴?Ϣ?դ????줿?ǥ????ץ쥤???֤???
?ؿ? XLocaleOfIM ?ϻ??ꤷ?????ϥ?åɤ˴?Ϣ?դ????줿???????????֤???
?ؿ? XRegisterIMInstantiateCallback ?ϡ????ꤷ???ǥ????ץ쥤???Ф??븽?ߤΥ????????ȥ??ǥ??ե???????Ŭ?礹 ?뿷???????ϥ?åɤ????Ѳ?ǽ?ˤʤä??Ȥ???ɬ???ƤӽФ????륳?????Х? ??????Ͽ???롣
???δؿ??????????ˤ? True ?????Ǥʤ????ˤ? False ???֤???
?ؿ? XUnregisterIMInstantiateCallback ?ϡ?????????Ͽ???????ϥ?åɤΥ????????Υ??????Хå????????? ?롣 ???δؿ??????????ˤ? True ?????Ǥʤ??????ˤ? False ???֤???
??Ϣ????¶
XCreateIC(3X11), XSetICFocus(3X11), XSetICValues(3X11),
XmbResetIC(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |