亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? api.text

?? 手寫識別Chinput源碼
?? TEXT
?? 第 1 頁 / 共 2 頁
字號:
	    IM Server Developers Kit - C Language Interface			    Hidetoshi Tajima		    X11R6 Xi18n Implementation Group			      May 15, 19941.   Functions List1.1.   Open IM ServiveXIMS IMOpenIM(Display display,...)display		specifies the connection to the X server....		specifies the variable length argument list to set		IMValues. For further information, see the Section 2		"IMValues".   IMOpenIM initializes the connection for the Input Method Service, andalso sets one or more IMValues which are specified by a variable lengthargument list programming interface, and when succeeding to open theconnection, IMOpenIM allocates a new XIMS structure and returns it,otherwise IMOpenIM returns NULL. XIMS is an opaque data structure toabstract the Input Method Service.   First, IMOpenIM initializes a preconnection method by which clientscan search for the IMserver. The convention of the preconnection varieswith the IMProtocol model as below, however, you don't have to pay muchattention to such difference, because IMOpenIM encapsulates it.    Preconnection for R5 Ximp	IMserver must create the selection owner window of the ATOM for	the string, such as "_XIMP_%locale" or something, which are used	by clients to search for the IMserver.    Preconnection for R6 IMProtocol	IMserver must create the selection owner window of the ATOM for	the string, such as "@server=%im_name", and registers the ATOM	with the list of "XIM_SERVERS" property of the default root	window, which contains a list of ATOMs, each of which represents	each available IMservers on the display.   Second, IMOpenIM initialize a transport connection on which clientsand the IMserver can send and receive IMProtocols with each other. Theprocedures to initialize the transport connection varies with thetransport mechanism as below, however, you don't have to pay anyattention to such difference, either, because IMOpenIM also encapsulatesit.    Transport connection for X	IMserver must intern a number of ATOMs for the properties which	are used to set some IMserver specific feature and	characteristic.    Transport connection for TCP/IP	IMserver must open a listening socket to wait for connection	request from clients.1.2.   Set IM Attributeschar *IMSetIMValues(XIMS ims,...)ims		specifies the input method service....		specifies the variable length argument list to set		IMValues.   IMSetIMValues registers one or more IMValues, which are specified bya variable length argument list programming interface, with the XIMSstructure. Note that IMOpenIM is also used to set all IMValues, and someIMValues must be set when IMOpenIM is called.   IMSetIMValues returns NULL if it succeeds to set all the IMValues,otherwise, it returns the name of the first argument whose value couldnot be registered.1.3.   Get IM Attributeschar *IMGetIMValues(XIMS ims,...)ims		specifies the input method service....		specifies the variable length argument list to get		IMValues.   IMGetIMValues gets one or more IMValues, which are specified by avariable length argument list programming interface, from the XIMSstructure.   IMGetIMValues returns NULL if it succeeds to get all the IMValues,otherwise, it returns the name of the first argument whose value couldnot be obtained.1.4.   Close IM Servicevoid IMCloseIM(XIMS ims)ims		specifies the input method service to be closed.   IMCloseIM closes the connection which was opened by IMOpenIM.IMCloseIM frees all the allocated data in the XIMS structure, then freesthe XIMS itself.1.5.   Start Preeditingint IMPreeditStart(XIMS ims, XPointer im_protocol)ims		specifies the input method service.im_protocol	specifies the Input Protocol data.   IMPreeditStart is used to start preeditting in case of Dynamic EventFlow.The structure for im_protocol varies with the IMProtocol models:/* R5 Ximp */typedef struct {    INT32	type;    CARD32	icid;    Window	focus_win;    long	fwin_sel_mask;    CARD32	ximp_type_mask;    Window	client_win;} XIMPPreeditStateStruct;/* R6 IMProtocol */typedef struct {    int		major_code;    int		minor_code;    CARD16	connect_id;    CARD16	icid;} IMPreeditStateStruct;1.6.   Stop Preeditingint IMPreeditEnd(XIMS ims, XPointer im_protocol)ims		specifies the input method service.im_protocol	specifies the Input Protocol data.   IMPreeditEnd is used to stop preeditting in case of Dynamic EventFlow. However, if you registered off-keys list using IMOffKeysListIMValue, you might not need to use IMPreeditEnd, because IMdkit callsIMPreeditEnd internally when it receives a key event matching one ofthe registered off-keys. So, you are greatly encouraged to useIMPreeditEnd only when you did *NOT* register any off-keys list.1.7.   Forward back KeyEventvoid IMForwardEvent(XIMS ims, XPointer im_protocol)ims		specifies the input method service.im_protocol	specifies the Input Protocol data.   IMForwardEvent is used to send back a non-filteredKeyPress/KeyRelease Event.   The structure for im_protocol varies with the IMProtocol models:/* R5 Ximp */typedef struct {    INT32	type;    CARD32	icid;    Window	focus_win;    long	fwin_sel_mask;    CARD32	ximp_type_mask;    Window	client_win;    CARD32	keycode;    CARD32	state;    CARD32	time;} XIMPKeyEventStruct;/* R6 IMProtocol */typedef struct {    int		major_code;    int		minor_code;    CARD16	connect_id;    CARD16	icid;		/* input context ID */    BITMASK16	sync_bit;	/* precessed synchronously or not */    CARD16	serial_number;    XEvent	event;		/* X event to be filtered */} IMForwardEventStruct;1.8.   Commit Conversion Stringvoid IMCommitString(XIMS ims, XPointer im_protocol)ims		specifies the input method service.im_protocol	specifies the Input Protocol data.   IMCommitString is used to send a committed string, which may containa localized text converted by the IMserver.   The structure for im_protocol varies with the IMProtocol models:/* R5 Ximp */typedef struct {    INT32	type;    CARD32	icid;    Window	focus_win;    long	fwin_sel_mask;    CARD32	ximp_type_mask;    Window	client_win;    char	*ctext;} XIMPCommitStringStruct;/* R6 IMProtocol */typedef struct {    int		major_code;    int		minor_code;    CARD16	connect_id;    CARD16	icid;		/* input context ID */    CARD16	flag;	/* bit combination to tell the receiver what to do */		#0001	: process it synchroously, return XIM_SYNC_REPLY		#0002	: Lookup Chars		#0004	: Lookup KeySym		#0006	: Lookup Both = Lookup Chars and KeySym	 */    KeySym	keysym;		/* returned keysym */    char	*commit_string;	/* string to commit to XIM client */} IMCommitStruct;1.9.   Call Callbackint IMCallCallback(XIMS ims, XPointer im_protocol)ims		specifies the input method service.im_protocol	specifies the Input Protocol data.   IMCallCallback is used for your IMserver to send a callback requestasynchronously with the previous IMProtocol request. The type of thecallback request must be set in the proper members of the im_protocoldata structure by your IMserver. In addition, it's up to you to declarea new IMProtocol structure before you begin the callback requests.   The structures for im_protocol varies with the IMProtocol models:/* R6 IMProtocol */   The type of the callback request must be set in major_code andminor_code members in the IMProtocol structure, e.g., you can startgeometry management callback as follows;	IMGeometryCBStruct geometry;	...	geometry.major_code = XIM_GEOMETRY;	geometry.connect_id = previous_request->any.connect_id;	...	IMCallCallback(ims, (IMProtocol)&geometry);   The structures for R6 IMProtocol callbacks contain:/* for Geometry Callback */typedef struct {    int		major_code;    int		minor_code;    CARD16	connect_id;    CARD16	icid;} IMGeometryCBStruct;/* for Preedit Callback */typedef struct {    int		major_code;    int		minor_code;    CARD16	connect_id;    CARD16	icid;    union {	int	return_value;			/* PreeditStart */	XIMPreeditDrawCallbackStruct draw;	/* PreeditDraw */	XIMPreeditCaretCallbackStruct caret; 	/* PreeditCaret */    } todo;} IMPreeditCBStruct;/* for Status Callback */typedef struct {    int		major_code;    int		minor_code;    CARD16	connect_id;    CARD16	icid;    union {	XIMStatusDrawCallbackStruct draw;    } todo;} IMStatusCBStruct;   The structures for R5 Ximp callbacks contain:/* for Geometry Callback */typedef struct {    INT32	type;    CARD32	icid;    Window	focus_win;    long	fwin_sel_mask;    CARD32	ximp_type_mask;    Window	client_win;} XIMPAnyStruct;/* for Preedit Callback */typedef struct {    INT32	type;    CARD32	icid;    Window	focus_win;    long	fwin_sel_mask;    CARD32	ximp_type_mask;    Window	client_win;    union {	int	return_value;			/* PreeditStart */	XIMPreeditDrawCallbackStruct draw;	/* PreeditDraw */	XIMPreeditCaretCallbackStruct caret; 	/* PreeditCaret */    } todo;} XIMPPreeditCBStruct;/* for Status Callback */typedef struct {    INT32	type;    CARD32	icid;    Window	focus_win;    long	fwin_sel_mask;    CARD32	ximp_type_mask;    Window	client_win;    union {	XIMStatusDrawCallbackStruct draw;	/* StatusDraw */    } todo;} XIMPStatusCBStruct;2.   IMValues2.1.   IMModifiers   The IMModifiers argument, of type string, specifies the name of theIMProtocol model. At the current release, only three names are acceptedby IMdkit.	"Xi18n"		specifies the R6 standard IMProtocol model	"XIMP"		specifies the R5 Ximp model.   The IMModifiers argument must be set only once when IMOpenIM iscalled, and never be changed on the fly.2.2.   IMServerWindow   The IMServerWindow argument, of type Window, specifies the windowwhich identifies a method of preconnection with XIM clients. In additionto this primary purpose, the IMServerWindow might be used for any otherpurposes, which depends on the IMProtocol model to be used.   If this argument is unspecified, a default window might be providedby IMdkit, which depends on the IMProtocol model to be used, and if itis specified, it must be done only once by either IMOpenIM orIMSetIMValues, and never be changed on the fly.2.3.   IMServerName   The IMServerName argument, of type string, specifies the name of theIMserver. This argument might be a part of the IMserver identifiersby which XIM clients will search for the IMserver.   The IMServerName argument must be set only once when IMOpenIM iscalled, and never be changed on the fly.2.4.   IMLocale   The IMLocale argument, of type string, specifies a list of localesthe IMserver supports. This argument might be a part of the IMserveridentifiers which is used for XIM clients to search for the IMserver.   The IMLocale argument must be set only once when IMOpenIM is called,and never be changed on the fly.2.5.   IMServerTransport   The IMServerTransport argument, of type string, specifies the namefor the transport connection mechanism the IMserver uses. This argumentmight be a part of the IMserver identifiers which is used for XIMclients to search for the IMserver.   The preregistered formats for this argument are as follows.(*1)(*1) Reter to "The Input Method Protocol", Appendix B:  The list of transport specific IM Server address format registeredTCP/IP Names------------   Syntax for Internet domain names:	<TCP name> ::= "tcp/"<hostname>":"<ipportnumber>   	where <hostname> is either symbolic or numeric decimal form of	the host machine name, and <ipportnumber> is the port on which	the IMserver is listening for connections.   Syntax for system internal domain names:	<local name> ::= "locale/"<hostname>":"<pathname>	where <pathname> is a path name of socket address.DECnet Names------------   Syntax for DECnet names:	<DECnet name> ::= "decnet/"<nodename>"::IMSERVER$"<objname>	where <nodename> is either symbolic or numeric decimal form of	the DECnet address, and <objname> is normal, case-insensitive	DECnet object name.X Names-------   Syntax for X names:	<X name> ::= "X/"   The IMServerTransport argument must be set only once when IMOpenIM iscalled, and never be changed on the fly.2.6.   IMInputStyles   The IMInputStyles argument, of type XIMStyles, specifies a list ofthe input styles the IMserver supports.   If this argument is unspecified, a default list might be provided byIMdkit, which depends on the IMProtocol model to be used, and it can beset by either IMOpenIM or IMSetIMValues, but should not be changed onthe fly.2.7.   IMProtocolHandler   The IMProtocolHandler argument, of type IMProtoHandler, specifies thecallback function which is called each time when IMMainLoop receives anIMProtocol input from XIM clients. The generic prototype of theIMProtocolHandler function is;typedef int (*IMProtoHandler)();int ProtocolHandlerProc(ims, call_data)XIMS ims;XPointer call_data;call_data	points to a IMProtocol structure.2.8.   IMOnKeysList   The IMOnKeysList argument, of type XIMTriggerKeys, specifies the listof preediting start-keys for Dynamic Event Flow model. The IMOnKeysListIMValue is mandatary for IMserver to support Dynamic Event Flow Model,so that the IMlibrary can send the IMserver a request to startpreediting with the apperance of one of these registered on-keys.   If the IMOnKeysList is left unspecified, no default will be provided,and Static Event Flow model will be used.   XIMTriggerKeys structure is defined by IMdkit as follows:typedef struct {    CARD32	keysym;    CARD32	modifier;    CARD32	modifier_mask;} XIMTriggerKey;typedef struct {    unsigned short count_keys;    XIMTriggerKey *keylist;} XIMTriggerKeys;2.9.   IMOffKeysList   The IMOnKeysList argument, of type XIMTriggerKeys, specifies the listof preediing end-keys for Dynamic Event Flow model. The IMOffKeysListIMValue is optional for IMserver to support Dynamic Event Flow Model.   When it is specified, the IMlibrary can send the IMserver a requestto stop preediting with the apperance of one of these registeredoff-keys, while it's unspecified, the IMserver calls IMPreeditEnd tonotify the IMlibrary to stop preeditting when the IMserver would like tostop preeditring.   If the IMOffKeysList is left unspecified, no default will beprovided.2.10.   IMEncodingList   The IMEncodingList argument, of type XIMEncodings, specifies the list

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品福利视频一区二区三区| 国产一区二区三区四区五区入口| 久久精品一二三| 精品欧美久久久| 欧美变态tickling挠脚心| 91精品国产综合久久精品图片| 91国产成人在线| 欧美日韩午夜在线| 91精品国产麻豆| 欧美成人精精品一区二区频| 精品国产凹凸成av人导航| 欧美一级夜夜爽| 精品国产区一区| 久久久www成人免费无遮挡大片| 久久午夜老司机| 国产精品国产三级国产aⅴ入口 | 日韩黄色在线观看| 免费观看30秒视频久久| 激情欧美一区二区| 国产1区2区3区精品美女| 99精品黄色片免费大全| 欧美三级视频在线观看 | 激情综合色丁香一区二区| 国产在线精品一区二区| jizz一区二区| 欧美精品粉嫩高潮一区二区| 日韩女优电影在线观看| 国产人久久人人人人爽| 亚洲黄一区二区三区| 日本vs亚洲vs韩国一区三区二区 | 91黄色激情网站| 欧美精选午夜久久久乱码6080| 欧美一区二区三区在线观看视频| 国产三区在线成人av| 亚洲一区二区3| 国产精品一区二区三区网站| 91视视频在线观看入口直接观看www | 极品美女销魂一区二区三区免费| 成人av网站大全| 制服丝袜中文字幕亚洲| 欧美国产精品专区| 人人精品人人爱| 97精品国产97久久久久久久久久久久| 欧美日韩精品电影| 国产精品美女www爽爽爽| 午夜精品久久久久久久99樱桃| 国产美女娇喘av呻吟久久| 色88888久久久久久影院野外| 欧美一级高清片| 一区二区三区在线观看视频| 国产电影一区在线| 91精品国产一区二区| 亚洲午夜免费福利视频| 91蜜桃在线观看| 国产视频911| 精品中文av资源站在线观看| 欧美日韩国产不卡| 一个色在线综合| 成人av影视在线观看| 久久久国产一区二区三区四区小说 | 在线视频观看一区| 一区在线中文字幕| 粉嫩aⅴ一区二区三区四区五区| 日韩无一区二区| 日韩不卡免费视频| 日本高清不卡视频| 日韩毛片高清在线播放| 成人国产精品视频| 国产精品视频麻豆| 精品一区免费av| 日韩欧美亚洲国产精品字幕久久久| 一区二区三区.www| 欧美三级日韩三级| 视频在线观看一区二区三区| 91福利国产精品| 一区二区三区四区在线| 色香色香欲天天天影视综合网| 亚洲图片你懂的| 91久久精品网| 一区二区高清视频在线观看| 欧美无人高清视频在线观看| 亚洲第一综合色| 日韩欧美中文字幕制服| 久久精品国产久精国产| 久久老女人爱爱| 成人avav在线| 亚洲影院免费观看| 欧美丰满美乳xxx高潮www| 奇米精品一区二区三区在线观看| 欧美一级生活片| 国产a区久久久| 亚洲一区中文日韩| 欧美大白屁股肥臀xxxxxx| 国产在线国偷精品产拍免费yy| 国产精品国产三级国产三级人妇| 色综合久久99| 欧美a一区二区| 欧美激情综合网| 欧美色综合影院| 国产综合色在线视频区| 国产精品久久午夜夜伦鲁鲁| 欧美在线观看一二区| 久久精工是国产品牌吗| 18成人在线视频| 91精品免费在线观看| 国产成人综合视频| 亚洲精品国产第一综合99久久| 91精品免费观看| 成人午夜视频网站| 日韩成人免费看| 亚洲婷婷综合久久一本伊一区 | 久久99国内精品| 成人欧美一区二区三区小说| 欧美日韩国产三级| 成人精品视频一区| 日韩国产成人精品| 成人欧美一区二区三区黑人麻豆| 欧美一区二区三区在线观看 | 欧美一二三四在线| 91在线播放网址| 国产九色精品成人porny| 亚洲五码中文字幕| 亚洲桃色在线一区| 日韩精品一区二区三区四区视频| 91亚洲国产成人精品一区二区三| 精品中文av资源站在线观看| 亚洲精选视频在线| 国产香蕉久久精品综合网| 欧美另类高清zo欧美| 色综合婷婷久久| 国产成人精品亚洲日本在线桃色 | 成人黄色片在线观看| 日本女人一区二区三区| 一区二区三区.www| 国产精品动漫网站| 国产精品色婷婷| 久久精品亚洲一区二区三区浴池| 欧美精品电影在线播放| 91丨国产丨九色丨pron| 成人国产电影网| 国产一区二区精品久久| 国产在线国偷精品产拍免费yy| 日本亚洲三级在线| 免费人成精品欧美精品| 日韩在线观看一区二区| 青娱乐精品视频在线| 奇米亚洲午夜久久精品| 青娱乐精品视频| 日韩av一二三| 麻豆国产91在线播放| 久久精品久久久精品美女| 麻豆精品在线播放| 久久国产精品露脸对白| 精品一区二区三区欧美| 九九九精品视频| 国产综合色产在线精品| 国产高清亚洲一区| 成人精品国产免费网站| 91在线丨porny丨国产| 色婷婷久久久亚洲一区二区三区| 色诱视频网站一区| 欧美人狂配大交3d怪物一区| 8v天堂国产在线一区二区| 欧美一级免费大片| 久久香蕉国产线看观看99| 亚洲国产激情av| 一区二区久久久| 久久99热99| a级高清视频欧美日韩| 欧美亚洲自拍偷拍| 欧美一区二区三区不卡| 欧美成人a视频| 国产精品欧美久久久久无广告 | 日韩精品一区国产麻豆| 国产婷婷一区二区| 亚洲永久精品国产| 久久99最新地址| 91女神在线视频| 欧美一级xxx| 中文字幕佐山爱一区二区免费| 亚洲国产美国国产综合一区二区| 美国三级日本三级久久99 | 亚洲成人第一页| 国产精品一区二区黑丝| 欧洲一区二区三区在线| 欧美电影免费观看完整版| **欧美大码日韩| 喷白浆一区二区| 91视视频在线观看入口直接观看www | 日韩欧美国产一区在线观看| 国产色产综合产在线视频| 亚洲综合一区二区| 国产精品自拍在线| 欧美日韩不卡在线| 国产欧美精品一区| 日本午夜一本久久久综合| 91女人视频在线观看| 精品国产乱码久久久久久牛牛 | 亚洲综合色噜噜狠狠| 国产精品一区久久久久|