Scroll to navigation

XmbLookupString(3X11) XLIB FUNCTIONS XmbLookupString(3X11)

̾??

XmbLookupString, XwcLookupString, Xutf8LookupString - ?Ѵ????????줿???Ϥ????ϥ᥽?åɤ???????

????

int XmbLookupString(ic, event, buffer_return, bytes_buffer, keysym_return, status_return)
XIC ic;
XKeyPressedEvent *event;
char *buffer_return;
int bytes_buffer;
KeySym *keysym_return;
Status *status_return;

int XwcLookupString(ic, event, buffer_return, bytes_buffer, keysym_return, status_return)
XIC ic;
XKeyPressedEvent *event;
wchar_t *buffer_return;
int wchars_buffer;
KeySym *keysym_return;
Status *status_return;

int Xutf8LookupString(ic, event, buffer_return, bytes_buffer, keysym_return, status_return)
XIC ic;
XKeyPressedEvent *event;
char *buffer_return;
int bytes_buffer;
KeySym *keysym_return;
Status *status_return;

??????

(¸?ߤ????ʤ???)?ޥ????Х???ʸ???󤫥磻??ʸ??ʸ?????? ???ϥ᥽?åɤ????֤????롣

?ֵѥХåե??????̤????ꤹ?롣
?Ȥ????륭?????٥??Ȥ????ꤹ?롣
???ϥ????ƥ????Ȥ????ꤹ?롣
???ΰ??????? NULL ?Ǥʤ??????ˤϡ????٥??Ȥ????׻??????????????ܥ뤬?֤????롣
?֤??????ǡ????μ????򼨤??ͤ??֤????롣

????

?ؿ? XmbLookupString, XwcLookupString, Xutf8LookupString ?ϡ????ꤷ?????ϥ᥽?åɤ????֤??줿ʸ???????????? buffer_return ??Ϳ?? ?롣ʸ???????֤????ʤ????С??????? buffer_return ?????Ƥ??Ѳ????ʤ???

?????? keysym_return ?? NULL ?Ǥʤ??????ġ??????? status_return ?? ?????????ܥ뤬?֤??줿???Ȥ򼨤??Ƥ????????ˤϡ??????? keysym_return ?ˤϥ????????ܥ뤬?֤??졢???Υ????????ܥ??ˤϥ??٥??Ȥ????????줿 ?????????ɤ??ޥåԥ󥰤????Ƥ??롣 ʸ?????ȥ????????ܥ???ξ?????֤????Ƥ??????硢?????????ܥ????ͤ?ɬ?? ʸ???????б????Ƥ????Ȥϸ¤??ʤ???

XmbLookupString ?? Xutf8LookupString ??ʸ??????Ĺ?????Х??ȿ????֤??? XwcLookupString ??ʸ??????Ĺ????ʸ???????֤??? XmbLookupString ?? XwcLookupString ?ϻ??ꤷ?????ϥ????ƥ????Ȥ????ϥ᥽?åɤ˳??????Ƥ??줿 ?????????Υ??󥳡??ǥ??󥰤?ʸ???????֤??? Xutf8LookupString ?? UTF-8 ???󥳡??ǥ??󥰤?ʸ???????֤???

XmbLookupString ?? XwcLookupString ?ˤ??ä??֤??줿ʸ?????ϡ??????????Υ??󥳡??ǥ??󥰤ν??????֤ǻϤޤ? (?????????Υ??󥳡??ǥ??󥰤????ְ?¸?ξ???)??



?????????Ͻ??????ݾڤ??뤿???ˤϡ????饤?????Ȥ? KeyPress ???٥??ȤΤߤ? XmbLookupString, XwcLookupString, Xutf8LookupString ?????뤳?Ȥ????פǤ??롣 ???饤?????Ȥ? KeyRelease ???٥??Ȥ????ä????硢???????δؿ???ư????̤?????Ǥ??롣

???饤?????Ȥϡ??ޤ??????? status_return ???????å????Ƥ???¾???֤??ͤ? ???Ѥ??٤??Ǥ??롣 ?ɤδؿ??⡢¾?ΰ??????˲????֤??줿???򼨤??????? status_return ???? ???֤??? ?֤???????ǽ?????????ͤ??ʲ??˼???:

XBufferOverflow . . . . . . . . . . ?֤??????٤?????ʸ???󤬡?Ϳ?????줿 buffer_return ???????礭???? ɬ?פʥ?????( XmbLookupString, Xutf8LookupString ?ξ????ϥХ??ȿ??? XwcLookupString ?ξ?????ʸ????)?ϡ??ؿ????ͤȤ????֤??졢buffer_return ?????? keysym_return ?????Ƥ??ѹ??????ʤ??? ʸ?????????뤿???ˤϡ????饤?????Ȥ?Ŭ?ڤ??礭???ΥХåե????Ѱդ??Ƥ? ?顢Ʊ?????٥??Ȥ??Ф??Ƥ??????δؿ????ƤӸƤӽФ??ʤ????Фʤ??ʤ???
XLookupNone . . . ?????????Ϥ????ΤȤ????????????Ƥ??ʤ??? buffer_return ?????? keysym_return ?????Ƥ??ѹ????줺???ؿ??? 0 ???֤???
XLookupChars . ????ʸ???󤬹????????Ƥ??롣 . . . ???????ϰ????? buffer_return ?˳?Ǽ?????롣 ?Ȥ????륨?󥳡??ǥ??󥰤????Ҥ??̤??ǡ?ʸ??????Ĺ?????ؿ????ͤȤ????? ?????롣 . ?????? keysym_return ?????Ƥ??ѹ??????ʤ???
XLookupKeySym . . . . ʸ?????ǤϤʤ? KeySym ???֤??졢???? KeySym ?? keysym_return ???֤??? ?롣 ?????? buffer_return ?????Ƥ??ѹ????줺???ؿ??? 0 ???֤???
XLookupBoth . . . . . KeySym ??ʸ??????ξ?????֤??줿?? XLookupChars ?? XLookupKeySym ??Ʊ???˵????롣

XmbLookupString, XwcLookupString, Xutf8LookupString ?˰??????Ȥ????Ϥ??줿???ϥ????ƥ????Ȥ????ߥե???????????ͭ???Ƥ??Ƥ⡢ ???뤤?Ϥ????Ǥʤ??Ƥ⡢???̤˰㤤???????ʤ??? ???Ϥϥե????????򼺤ä??????Ǥϴ??????ϥ????ƥ????Ȥ??????˹??? ?????Ƥ????Τǡ??????ܡ??ɥե????????????????Ƥ??ޤäƤ⡢?夫?? XmbLookupString, XwcLookupString, Xutf8LookupString ???ƤӽФ??????Ϥ????????뤳?Ȥ??Ǥ??롣

?ؿ? Xutf8LookupString ?? XFree86 4.0.2 ????Ƴ?????줿 XFree86 ?ȼ??γ?ĥ?Ǥ??롣 ???δؿ???¸?ߤ??뤫?ɤ????ϥޥ??? X_HAVE_UTF8_STRING ??Ƚ???Ǥ??롣

??Ϣ????

XLookupKeysym(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11