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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩美少妇| 国产乱人伦偷精品视频不卡| 一本色道**综合亚洲精品蜜桃冫| 亚洲欧美综合色| 91偷拍与自偷拍精品| 亚洲免费在线观看| 在线区一区二视频| 秋霞成人午夜伦在线观看| 精品国产一区二区三区四区四| 国产传媒日韩欧美成人| 国产精品国产自产拍在线| 在线观看欧美黄色| 美女被吸乳得到大胸91| 国产日韩成人精品| 91丨porny丨在线| 爽好久久久欧美精品| 久久综合九色综合欧美亚洲| 成人h版在线观看| 亚洲福中文字幕伊人影院| 精品美女一区二区| 97国产精品videossex| 丝袜诱惑亚洲看片| 国产亚洲午夜高清国产拍精品| 91网址在线看| 黑人巨大精品欧美一区| 中文字幕中文在线不卡住| 91精品欧美综合在线观看最新 | 国产成人aaa| 亚洲精品久久久蜜桃| 日韩一区二区三区精品视频| 成人国产电影网| 日本少妇一区二区| 国产精品国产自产拍高清av王其| 在线免费观看一区| 国产精品亚洲第一区在线暖暖韩国 | 在线观看网站黄不卡| 蜜桃久久精品一区二区| 亚洲激情av在线| 久久久99久久| 欧美一级理论性理论a| 色综合久久99| 成人综合在线视频| 美腿丝袜亚洲综合| 亚洲国产成人porn| 国产精品久久久久久亚洲毛片| 欧美mv和日韩mv国产网站| 欧美日韩国产免费| 色婷婷精品久久二区二区蜜臀av| 国产一区久久久| 蜜臀久久99精品久久久久久9| 一区二区三区四区中文字幕| 国产日韩欧美麻豆| 久久久久高清精品| 精品黑人一区二区三区久久| 欧美日韩小视频| 91福利视频网站| 99久久精品99国产精品| 成人网页在线观看| 成人一级片在线观看| 国产美女娇喘av呻吟久久| 免费的国产精品| 免费久久99精品国产| 午夜天堂影视香蕉久久| 亚洲一区视频在线| 亚洲综合色噜噜狠狠| 亚洲精品成a人| 中文字幕一区二区三区精华液| 国产三级欧美三级日产三级99 | 国产亚洲一区二区三区四区| 91精品国产91久久久久久一区二区 | 国产精品白丝在线| 中文字幕一区三区| 中文乱码免费一区二区| 国产精品色眯眯| 自拍偷拍亚洲欧美日韩| 国产精品成人免费精品自在线观看| 中文字幕第一区综合| 日本一区二区免费在线观看视频 | 亚洲国产精品传媒在线观看| 久久久久88色偷偷免费| 久久女同精品一区二区| 日本一区二区三区四区在线视频| 中文字幕av一区二区三区免费看| 国产精品国产三级国产三级人妇| 国产精品看片你懂得| 亚洲精品自拍动漫在线| 亚洲国产欧美另类丝袜| 午夜在线成人av| 另类中文字幕网| 懂色av一区二区三区免费观看| 波多野结衣中文一区| 91久久国产最好的精华液| 欧美日韩精品免费观看视频 | 日本一区二区三区国色天香 | 欧美精品777| 欧美精品一区二| 国产亚洲精品中文字幕| 国产精品国产三级国产a| 一区二区欧美精品| 美女尤物国产一区| 成人动漫中文字幕| 欧美日韩视频在线一区二区| 日韩欧美国产午夜精品| 中文字幕av一区二区三区高| 亚洲午夜久久久久久久久久久 | 一区二区三区高清不卡| 日本美女一区二区| 成人在线一区二区三区| 欧美日韩亚洲综合一区二区三区| 日韩欧美国产一区二区在线播放| 亚洲国产精品传媒在线观看| 亚洲一区二区成人在线观看| 激情国产一区二区| 在线视频国产一区| 欧美精品一区二区在线观看| 伊人性伊人情综合网| 狠狠色丁香久久婷婷综合丁香| 91国产丝袜在线播放| 精品日韩一区二区三区| 亚洲视频在线一区| 黄色小说综合网站| 欧美日韩精品电影| 中文字幕在线不卡| 黄网站免费久久| 欧美久久一区二区| 自拍偷拍国产精品| 国产乱人伦偷精品视频不卡| 欧美日本在线观看| 成人免费在线视频| 国产很黄免费观看久久| 91麻豆精品国产91久久久久久| 亚洲丝袜精品丝袜在线| 国产精品一品二品| 日韩精品一区二区在线观看| 亚洲午夜精品一区二区三区他趣| 国产精品18久久久久久vr| 337p亚洲精品色噜噜噜| 一区二区三区在线视频观看58| 国产一区美女在线| 日韩欧美视频在线| 亚洲一级二级三级在线免费观看| 成人国产亚洲欧美成人综合网| 精品国产123| 美腿丝袜亚洲三区| 欧美日韩夫妻久久| 亚洲大片精品永久免费| 色婷婷久久综合| 综合av第一页| 99精品国产一区二区三区不卡| 国产视频亚洲色图| 国产真实乱对白精彩久久| 欧美成人三级在线| 久久精品国产成人一区二区三区| 欧美酷刑日本凌虐凌虐| 亚洲一区在线观看免费| 欧美最新大片在线看| 亚洲精品第一国产综合野| 99re成人在线| 亚洲色图制服丝袜| 99久久精品免费精品国产| 国产精品污网站| jvid福利写真一区二区三区| 亚洲国产高清不卡| av电影天堂一区二区在线| 国产精品丝袜黑色高跟| 成人免费精品视频| 亚洲欧洲99久久| 欧美这里有精品| 亚洲成人精品一区| 4438成人网| 久久99国产精品尤物| 精品国产sm最大网站| 国产电影一区在线| 最新久久zyz资源站| 91成人在线免费观看| 午夜精品123| 日韩女同互慰一区二区| 国产精品99久久久久久似苏梦涵| 欧美激情一区二区三区不卡| 99久久久久久99| 午夜成人免费视频| 日韩女优av电影在线观看| 国产成人精品三级| 亚洲日本va午夜在线影院| 欧美高清你懂得| 国产一区二区调教| 亚洲免费在线看| 欧美一级欧美三级| 国产高清不卡二三区| 亚洲精品精品亚洲| 欧美一级久久久| 丁香另类激情小说| 丝袜美腿高跟呻吟高潮一区| 欧美精品色综合| 国产盗摄精品一区二区三区在线| 亚洲日本免费电影| 欧美va亚洲va香蕉在线| 91尤物视频在线观看| 日韩高清一区在线| 国产精品美女一区二区|