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

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

?? api.text

?? 手寫識別Chinput源碼
?? TEXT
?? 第 1 頁 / 共 2 頁
字號:
of encodings the IMserver supports. XIM client will be notified of thisargument immediately after it makes a connection with the IMserver.   The IMEncdoingList argument is used to specify which encodings can beused to exchange localized-text between the IMserver and XIM clients.   If it's left unspecified, only "COMPOUND_TEXT" encoding will be usedas a fallback default.   XIMEncodings structure is defined by IMdkit as follows:typedef char *XIMEncoding;typedef struct {    unsigned short count_encodings;    XIMEncoding *supported_encodings;} XIMEncodings;2.11.   IMFilterEventMask   The IMFilterEventMask argument, of type long, specifies the eventswhich should be filtered by the IMserver during the preeditting is ongoing.   If it's left unspecified, KeyPressMask (1L<<0) will be fallbackdefault.2.12.   IMProtocolDepend   The IMProtocolDepend argument is used to specify special IM valuesfor each IMProtocol model, if any. This attribute is passed toIMOpenIM, IMSetIMValues or IMGetIMValues as a nested variable lengthlist generated with XVaCreateNestedList(). At this release, thenames in the IMProtocolDepend list are defined only for R5 Ximp model,as below.2.12.1.   R5 Ximp dependent IM ValuesXIMPVersion   The XIMPVersion argument, of type string, specifies the version of R5Ximp model.	value		meaning	---------------------------------------------	"3.5"		supports Ximp version 3.5 model	"4.0"		supports Ximp version 4.0 modelXIMPType   The XIMPVersion argument, pointer to a list of type unsigned long,specifies a list of bitmask combinations, each of which indicates theevent flow model your IMserver supports. All possible values to beappeared in the list are defined as follows.(*)(*) Refer to "Protocol Specification for the Distributes Input System onthe X Window System, Version 11", which contains in X11R5 contribuion.  XIMP_BE_TYPE1	back-end type, which IMlibrary recognizes registered keys and	notifies a server to start processing key events.  XIMP_FE_TYPE1	front-end type, which IMlibrary recognizes registered keys and	notifies a server to start processing key events.  XIMP_BE_TYPE2	back-end type, which IMlibrary does not recognize any registered	keys and. IMserver will always the first to process key events.  XIMP_FE_TYPE2	front-end type, which IMlibrary does not recognize any	registered keys and. IMserver will always the first to process	key events.  XIMP_FE_TYPE3	front-end type, which key events are always passed to both	IMserver and IMlibrary. Both of them recognize registered keys.  XIMP_SYNC_BE_TYPE1	XIMP_BE_TYPE1 & KeyPress is transfered synchronously.  XIMP_SYNC_BE_TYPE2	XIMP_BE_TYPE2 & KeyPress is transfered synchronously.XIMPExtension   The XIMPExtension argument is used to set/unset the pre-registeredextensions to be valid. This list is also a nested variable length listgenerated with XVaCreateNestedList(). At this release, thepre-registered extensins appeared in the XIMPExtension list are definedas below.  XIMPExtStatusWin	If it is appeared in the list, the XNExtXimp_StatusWindow input	context	attribute is valid to set the status window. The	attribute value	isn't evaluated.  XIMPExtBackFront	If it is appeared in the list, the XNExtXimp_Backfront input	context is valid to select the front-end method or back-end	method. The attribute value isn't evaluated.  XIMPExtConversion	If it is appeared in the list, the XNExtXimp_Conversion input	context is valid to set the input mode. The attribute value	isn't evaluated.3.   X IMProtocol Strucutures   For each X IMProtocol input, a corresponding structure is defined inpublic header files of IMdkit. <X11/Ximd/Xi18n.h> defines all IMProtocolstructures for R6 standard IMProtocol model, and <X11/Ximd/Ximp.h>defines all for R5 Ximp model.3.1.   R6 IMProtocol3.1.1. IMProtocol union data structure   In R6 standard IMProtocol model, all the event structures have thefollowing common members:typedef struct {    int major_code;	/* major code of last IMProtocol */    int minor_code;	/* minor code of last IMProtocol */    CARD16 connect_id;	/* client connection ID */} IMAnyStruct;   The major_code and minor_code specify the IMProtocol type constantname that uniquely identifies itself.   In addition to the individual structures declared for each IMProtocoltype, the IMProtocol structure is a union of the individual structuresdeclared for each IMProtocol type. Depending on the type, you shouldaccess members of each IMProtocol by using the IMProtocol union.typedef union _IMProtocol {    int	major_code;    IMAnyStruct any;    IMConnectStruct imconnect;    IMDisConnectStruct imdisconnect;    IMOpenStruct imopen;    IMCloseStruct imclose;    IMQueryExtensionStruct queryext;    IMGetIMValuesStruct getim;    IMEncodingNegotiationStruct encodingnego;    IMExtSetEventMaskStruct extsetevent;    IMExtForwardKeyEventStruct extforward;    IMExtMoveStruct extmove;    IMSetEventMaskStruct setevent;    IMChangeICStruct changeic;    IMDestroyICStruct destroyic;    IMResetICStruct resetic;    IMChangeFocusStruct changefocus;    IMCommitStruct commitstring;    IMForwardEventStruct forwardevent;    IMTriggerNotifyStruct triggernotify;    IMErrorStruct imerror;    IMGeometryCBStruct geometry_callback;    IMPreeditCBStruct preedit_callback;    IMStatusCBStruct status_callback;    long pad[32];} IMProtocol;   The first two entries of any IMProtocol structure are always themajor_code and minor_code members, which specifies the IMProtocol type.The third member is the connect_id member, just provided for IMdkitinternal use to distinguish a client from each other.3.1.2. Protocol Processing   Some of IMProtocol requests sent by the IMlibrary are processedinternally by IMdkit without passing them to your IMservers, becauseIMdkit can determin the answer to such IMProtocol requests only byusing the IMValues which you have set in the XIMS structure.   At this release, the following four IMProtocol requests is processedin IMdkit itself, and wouldn't forward to your IMserver:	o XIM_CONNECT		-> XIM_CONNECT_REPLY	o XIM_DISCONNECT	-> XIM_DISCONNECT_REPLY	o XIM_QUERY_EXTENSION	-> XIM_QUERY_EXTENSION_REPLY	o XIM_GET_IM_VALUES	-> XIM_GET_IM_VALUES_REPLY   So, you don't have to know the details of the correspondingIMProtocol structures for these IMProtocol requests.   On the other hand, you will need to deal with the following requestsfor yourselves:	o XIM_OPEN	o XIM_CLOSE	o XIM_SET_IC_FOCUS and XIM_UNSET_IC_FOCUS	o XIM_DESTROY_IC	o XIM_RESET_IC	o XIM_CREATE_IC, XIM_SET_IC_VALUES and XIM_GET_IC_VALUES	o XIM_TRIGGER_NOTIFY	o XIM_FORWARD_EVENT   However, you don't have to receive any raw packets, but can receivethe corresponding IMProtocol structures in your IMProtocolHandlercallback function. Further, you don't have to send a reply foryourselves, but IMdkit will send a reply soon after yourIMProtocolHandler returns. If your IMProtocolHandler returns True,IMdkit will send the proper reply to the previous request, and if itreturns False, IMdkit will send XIM_ERROR reply to the XIM client.   The following IMProtocol structures are what you will actuallyreceive instead of IMProtocol requests in your IMProtocolHandlerfunction.IMOpenStruct------------   The IMOpenStruct structure is used for XIM_OPEN and XIM_OPEN_REPLYrequests. The structure contains:typedef struct {    int length;    char *name;} XIMStr;typedef struct {    int major_code;    int minor_code;    CARD16 connect_id;    XIMStr lang;} IMOpenStruct;   Your IMserver should check lang field to know which language serviceis required by the new client, which is identified with connect_idmember.IMCloseStruct-------------   The IMCloseStruct structure is used for XIM_CLOSE and XIM_CLOSE_REPLYrequests. The structure contains:typedef struct {    int		major_code;    int		minor_code;    CARD16	connect_id;} IMCloseStruct;   Your IMserver should check connect_id member to know which inputmethod connection should be closed.IMChangeFocusStruct-------------------   The IMChangeFocusStruct structure is used for XIM_SET_IC_FOCUS andXIM_UNSET_IC_FOCUS requests. The structure contains:typedef struct {    int major_code;    int minor_code;    CARD16 connect_id;    CARD16 icid;	/* input context ID to change focus */} IMChangeFocusStruct;   Your IMserver should check icid member to know which input contextshould be focusd or unfocusd.IMDestroyICStruct-----------------   The IMDestroyICStruct structure is used for XIM_DESTROY_IC andrequest. The structure contains:typedef struct {    int major_code;    int minor_code;    CARD16 connect_id;    CARD16 icid;	/* input context ID to destroy */} IMDestroyICStruct;   Your IMserver should check icid member to know which input contextshould be destroyed.IMResetICStruct---------------   The IMResetICStruct structure is used for XIM_RESET_IC request. Thestructure contains:typedef struct {    int major_code;    int minor_code;    CARD16 connect_id;    CARD16 icid;	/* input context ID to reset */    CARD16 length;	/* length of committed string below */    char *commit_string; /* string to commit to XIM client */} IMResetICStruct;   Your IMserver should check icid member to know which input contextshould be reset.IMChangeICStruct----------------   The IMChangeICStruct structure is used for XIM_CREATE_IC,XIM_SET_IC_VALUES and XIM_GET_IC_VALUES requests. The structurescontain:/* *  value type for IC defined in XimProto.h */#define	XimType_SeparatorOfNestedList	 0#define	XimType_CARD8			 1#define	XimType_CARD16			 2#define	XimType_CARD32			 3#define	XimType_STRING8			 4#define	XimType_Window			 5#define	XimType_XIMStyles		10#define	XimType_XRectangle		11#define	XimType_XPoint			12#define XimType_XFontSet		13#define XimType_XIMOptions		14#define XimType_XIMHotKeyTriggers	15#define XimType_XIMHotKeyState		16#define XimType_XIMStringConversion	17#define	XimType_NEST			0x7ffftypedef struct {    int attribute_id;	/* ID for this IC */    CARD16 name_length;	/* length of IC name below */    char *name;		/* IC name */    int value_length;	/* length of IC value below */    void *value;	/* IC value */    int type;		/* value type for IC, see above */} XICAttribute;typedef struct {    int major_code;    int minor_code;    CARD16 connect_id;    CARD16 icid;	/* input context ID:	   for each CREATE, different ID is expected to be returned.	   for each SET, it shows the ID to set.	   for each GET, it shows the ID to get.	 */    CARD16 preedit_attr_num;	/* number of preedit_attr list below */    CARD16 status_attr_num;	/* number of preedit_attr list below */    CARD16 ic_attr_num;		/* number of ic_attr list below */    XICAttribute *preedit_attr;	/* IC values for preedit attribute */    XICAttribute *status_attr;	/* IC values for status attribute */    XICAttribute *ic_attr;	/* IC values for other attributes */} IMChangeICStruct;   When XIM_SET_IC_VALUES or XIM_GET_IC_VALUES, your IMserver shouldcheck icid member to know which input context should be specified. WhenXIM_CREATE_IC, your IMserver should set icid member to identify theinput context newly created. IMTriggerNotifyStruct---------------------   The IMTriggerNotifyStruct structure is used for XIM_TRIGGER_NOTIFYrequest. The structure contains:typedef struct {    int major_code;    int minor_code;    CARD16 connect_id;    CARD16 icid;    CARD32 flag;    CARD32 key_index;    CARD32 event_mask;} IMTriggerNotifyStruct;IMForwardEventStruct--------------------   The IMForwardEventStruct structure is used for XIM_FORWARD_EVENTrequest. The structure contains: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;3.2.   R5 Ximp IMProtocol3.2.1. XIMProtocol union data structure   In R5 Ximp IMProtocol model, all the event structures have thefollowing common members:typedef struct {    INT32 type;		/* message type */    CARD32 icid;	/* input context ID */    Window focus_win;	/* focus window */    long fwin_sel_mask; /* focus window select-mask */    CARD32 ximp_type_mask; /* Ximp event flow type */    Window client_win;	/* client window */} XIMPAnyStruct;   The type member specifies the Ximp IMProtocol type constant name thatuniquely identies itself.   In addition to the individual structures declared for each XimpXIMProtocol type, the Ximp IMProtocol structure is a union of theindividual structures declared for each Ximp IMProtocol type. Dependingon the type, you should access members of each Ximp IMProtocol by usingthe XIMProtocol union.typedef union _IMPProtocol {    int				type;    XIMPAnyStruct		any;    XIMPKeyEventStruct		keyevent;    XIMPICValuesStruct		create;    XIMPICValuesStruct		setvalue;    XIMPICValuesStruct		getvalue;    XIMPAnyStruct		destroy;    XIMPAnyStruct		regkey;    XIMPAnyStruct		setfocus;    XIMPAnyStruct		unsetfocus;    XIMPClientWindowStruct	clientwin;    XIMPFocusWindowStruct	focuswin;    XIMPMoveStruct		move;    XIMPEventMaskNotifyStruct	evmasknotify;    XIMPExtensionStruct		extension;    XIMPReadPropStruct		readprop;    XIMPResetStruct		reset;    XIMPCommitStringStruct	commitstring;    XIMPErrorStruct		error;    XIMPAnyStruct		geometry_cb;    XIMPPreeditCBStruct		preedit_cb;    XIMPStatusCBStruct		status_cb;    long			pad[24];} IMPProtocol;   The first entry of any XIMProtocol structure is always thetype member, which specifies the Ximp IMProtocol type.4.   Writing IMserversWhen writing an IMserver that uses the IMdkit, you should make sure thatyour IMserver performs the following:   1. Include <X11/Xlib.h> in your IMserver programs.   2. Include <X11/Ximd/IMdkit.h>. This header file defines all the   necessary data types and IMdkit functions that you need to use.   3. Include <X11/Ximd/Xi18n.h> for R6 standard IMProtocol, or   <X11/Ximd/Ximp.h> for R5 Ximp IMProtocol, respectively.   4. Call the IMOpenIM function with all the necessary IMValues to   initialize the connection. The names of each IMValues have a global   symbol that begins with IM to help catch spelling errors. For   example, IMModifiers is defined for the XIMProtocol model, and   IMLocale is defined for the locale resource. For further information,   see "Section 1.1 Open IM Service" and Section 2 "IMValues"   5. To set additional IMValues or override the existing IMValues you   set by IMOpenIM, use IMSetIMValues. You can also use IMGetIMValues to   look up at existing IMValues. Note that some of IMValues must be set   at the IM service creation time, and never be changed by   IMSetIMValues.   6. You must set the IMProtocol callback routine by the   IMProtocolHandler argument with IMOpenIM or IMSetIMValues functions.   This callback is called whenever the IMProtocol is delivered by XIM   clients.   7. Now you should select all the necessary X events for your windows   with XSelectInput function, and map the windows with XMapWindow   function, then sit in a loop processing events as follows.    for (;;) {	XEvent event;	XNextEvent(your_display, &event);	if (XFilterEvent(&event, NULL) == True)	  continue;	YourXEventHandler(&event);    }   Here, all the IMProtocols you need are passed to your IMProtocol   callback routine by X Filtering mechanism of XFilterEvent function,   and all unfiltered X events you want are passed to YourXEventHandler   function above.   8. Link your IMserver with libXimd (the IMdkit library) and libX11   (the core X library). The following provides a sample command line:	cc -o sampleIM sampleIM.c -lXimd -lX11

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
青青草原综合久久大伊人精品| 欧洲一区在线电影| 91小视频在线观看| 欧美一区二区三区在线电影| 欧美国产精品中文字幕| 麻豆精品一区二区| 在线观看视频一区二区欧美日韩| 国产婷婷精品av在线| 奇米影视在线99精品| 91麻豆国产精品久久| 精品久久久久久亚洲综合网| 一区二区三区中文字幕电影 | 从欧美一区二区三区| 欧美一级一级性生活免费录像| 综合网在线视频| 99久久久久久| 国产片一区二区三区| 久久精品国产一区二区| 欧美日本在线播放| 亚洲精品国产精品乱码不99| 不卡的av中国片| 久久久精品国产免大香伊| 美日韩一区二区三区| 在线成人免费视频| 亚洲国产精品一区二区久久 | 欧美疯狂性受xxxxx喷水图片| 亚洲蜜臀av乱码久久精品蜜桃| 国产99久久久久久免费看农村| 精品国产在天天线2019| 精品伊人久久久久7777人| 91麻豆精品国产91久久久久久久久 | 一区二区免费看| 色综合久久综合网97色综合| 日韩毛片视频在线看| 91福利在线观看| 亚洲一区二区偷拍精品| 欧美日韩免费观看一区二区三区| 亚洲综合丁香婷婷六月香| 91福利精品第一导航| 亚洲成人自拍网| 欧美一区二区三区在线| 精品一区二区三区视频在线观看| 日韩精品在线一区二区| 狠狠色丁香九九婷婷综合五月| 精品av久久707| 成人免费黄色在线| 亚洲美女视频在线观看| 欧美美女黄视频| 蜜臀国产一区二区三区在线播放| 日韩精品一区在线| 国产精品1区2区| 亚洲乱码国产乱码精品精可以看 | 一区二区三区成人| 5566中文字幕一区二区电影| 精品一区二区在线观看| 国产精品视频线看| 欧美日韩视频不卡| 国产一区高清在线| 亚洲美女在线一区| 亚洲精品一区在线观看| 成人黄色网址在线观看| 视频一区中文字幕| 国产农村妇女毛片精品久久麻豆| 91免费视频网| 久久精品国产一区二区三 | 色综合一区二区| 日本免费在线视频不卡一不卡二| 久久免费精品国产久精品久久久久| zzijzzij亚洲日本少妇熟睡| 日韩综合小视频| 国产欧美一区二区三区在线看蜜臀 | 91精品国产欧美一区二区成人| 国产精品综合一区二区| 一区二区三区自拍| 久久在线免费观看| 欧美视频中文字幕| 国产98色在线|日韩| 午夜精品一区在线观看| 久久久久国产一区二区三区四区 | 成人h动漫精品一区二区| 日韩国产一区二| 国产精品久久久久9999吃药| 欧美一区午夜视频在线观看| 91香蕉视频在线| 国模套图日韩精品一区二区| 午夜欧美2019年伦理| 综合色天天鬼久久鬼色| 久久久精品国产免大香伊 | 欧美激情一区二区三区| 欧美一区二区黄色| 欧美日韩国产色站一区二区三区| 国产98色在线|日韩| 国模套图日韩精品一区二区| 天天色图综合网| 亚洲无线码一区二区三区| 亚洲欧美日韩中文字幕一区二区三区| 久久综合国产精品| 日韩欧美在线观看一区二区三区| 日本大香伊一区二区三区| 93久久精品日日躁夜夜躁欧美| 国产精品1区2区| 国产成人亚洲精品青草天美| 蜜臀av性久久久久av蜜臀妖精| 亚洲成人一区在线| 亚洲国产欧美在线| 亚洲午夜激情网站| 午夜伊人狠狠久久| 午夜在线成人av| 亚洲v中文字幕| 亚洲一区二区成人在线观看| 一区二区三区在线观看视频| 亚洲视频在线观看三级| 中文字幕亚洲欧美在线不卡| 亚洲国产精品v| 国产精品美女久久福利网站| 中文字幕在线观看一区| 国产精品伦一区二区三级视频| 中文字幕精品三区| 国产精品福利在线播放| 亚洲欧美一区二区久久| 亚洲综合激情网| 丝袜亚洲另类丝袜在线| 蜜桃视频一区二区| 国产精品伊人色| 国产精品一区二区在线观看不卡 | 69久久99精品久久久久婷婷| 欧美军同video69gay| 日韩一本二本av| 久久久国产午夜精品| 国产精品不卡一区| 亚洲综合视频在线| 麻豆精品在线播放| 不卡电影一区二区三区| 色综合天天狠狠| 91精品久久久久久久久99蜜臂| 精品奇米国产一区二区三区| 国产亚洲精品资源在线26u| 中文字幕日韩一区二区| 亚洲国产色一区| 久久精品国产在热久久| 成人动漫av在线| 欧美精三区欧美精三区| 久久麻豆一区二区| 一个色妞综合视频在线观看| 日韩国产欧美在线视频| 成人免费高清视频| 欧美日韩一区二区三区四区五区| 亚洲精品在线观| 亚洲精品成人少妇| 黑人巨大精品欧美黑白配亚洲| 波多野结衣的一区二区三区| 欧美欧美欧美欧美| 国产精品人成在线观看免费 | 欧美日韩电影在线| 久久久精品国产免费观看同学| 亚洲精品视频在线观看网站| 久久国产精品一区二区| 91丨porny丨国产入口| 精品日本一线二线三线不卡| 亚洲欧美成人一区二区三区| 老司机午夜精品| 在线视频你懂得一区| 久久先锋资源网| 日本怡春院一区二区| caoporen国产精品视频| 欧美一区二区三区思思人| 亚洲欧美精品午睡沙发| 国产麻豆精品在线| 欧美精品99久久久**| 综合久久国产九一剧情麻豆| 激情小说亚洲一区| 91麻豆精品国产91久久久久| 欧美国产精品中文字幕| 九一久久久久久| 欧美精品乱码久久久久久| 有坂深雪av一区二区精品| 成人黄色国产精品网站大全在线免费观看| 欧美一级一区二区| 日日摸夜夜添夜夜添精品视频| 91在线小视频| 国产精品欧美一级免费| 国产一区二区三区黄视频 | 欧美zozozo| 日韩经典中文字幕一区| 欧美视频在线播放| 亚洲欧美日韩精品久久久久| 国产iv一区二区三区| 国产午夜精品一区二区三区嫩草| 青草av.久久免费一区| 欧美日韩高清一区二区不卡| 亚洲成人福利片| 欧美日韩你懂得| 亚洲福利一区二区| 精品视频在线免费看| 亚洲亚洲人成综合网络| 色8久久人人97超碰香蕉987| 中文字幕亚洲在| 色综合天天综合在线视频| 一区二区三区欧美| 欧美亚洲一区二区三区四区|