2.11. IMFilterEventMask //输入法过滤事件掩码
The IMFilterEventMask argument, of type long, specifies the events
which should be filtered by the IMserver during the preeditting is on
going.
IMFilterEventMask参数氏long类型,指定哪些事件应被输服噐IMserver在预编辑期间过滤。
If it's left unspecified, KeyPressMask (1L<<0) will be fallback
default.
如果它保留不指定,键压掩码KeyPressMask (1L<<0)会被回调函数默认使用。
2.12. IMProtocolDepend //输入法协议依赖
The IMProtocolDepend argument is used to specify special IM values
for each IMProtocol model, if any. This attribute is passed to
IMOpenIM, IMSetIMValues or IMGetIMValues as a nested variable length
list generated with XVaCreateNestedList(). At this release, the
names in the IMProtocolDepend list are defined only for R5 Ximp model,
as below.
IMProtocolDepend参数用于指定特殊的IM值适应各个IMProtocol模型,如果有需要的话。
此属性传递给IMopenIM函数,IMSetIMValues函数,或者IMGetIMValues函数的一组变长
列表,由XVaCreateNestedList()函数生成。在此发布版本中,IMProtocolDepend列表中
的名称仅定义用于R5的Ximp模型,如下所示。
2.12.1. R5 Ximp dependent IM Values //R5的Ximp依赖的IM值
XIMPVersion //XIMP版本
The XIMPVersion argument, of type string, specifies the version of R5
Ximp model.
XIMPVersion参数,字符串类型,指定R5的Ximp模型
value meaning
值 含义
---------------------------------------------------------------------
"3.5" supports Ximp version 3.5 model //支持Ximp版本3.5模型
"4.0" supports Ximp version 4.0 model //支持Ximp版本4.0模型
XIMPType //XIMP类型
The XIMPVersion?XIMPType argument, pointer to a list of type unsigned long,
specifies a list of bitmask combinations, each of which indicates the
event flow model your IMserver supports. All possible values to be
appeared in the list are defined as follows.(*)
XIMPType参数,氏类型无符号长整型的列表指针,指定一个位掩码综合列表,其中每一个指示
你的输服噐IMserver支持的事件流模型。所有可能的值在下面的列表中显示。(*)
(*) Refer to "Protocol Specification for the Distributes Input System on
the X Window System, Version 11", which contains in X11R5 contribuion.
(*)参考"Protocol Specification for the Distributes Input System on
the X Window System, Version 11", 它包含于X11R5发布中。
XIMP_BE_TYPE1
back-end type, which IMlibrary recognizes registered keys and
notifies a server to start processing key events.
后端类型,这种情况(客户程序中的输入法库)IMlibrary识别已注册的键并且
通知某个输服噐开始处理键事件。
XIMP_FE_TYPE1
front-end type, which IMlibrary recognizes registered keys and
notifies a server to start processing key events.
前端类型,这种情况(客户程序中的输入法库)IMlibrary识别已注册的键并且
通知某个输服噐开始处理键事件。
XIMP_BE_TYPE2
back-end type, which IMlibrary does not recognize any registered
keys and. IMserver will always the first to process key events.
后端类型,这种情况(客户程序中的输入法库)IMlibrary不识别任何注册的键并且
输服噐总氏首先处理键事件。
XIMP_FE_TYPE2
front-end type, which IMlibrary does not recognize any registered
keys and. IMserver will always the first to process key events.
前端类型,这种情况(客户程序中的输入法库)IMlibrary不识别任何注册的键并且
输服噐总氏首先处理键事件。
XIMP_FE_TYPE3
front-end type, which key events are always passed to both
IMserver and IMlibrary. Both of them recognize registered keys.
前端类型,这种情况键事件总氏传递输服噐IMserver和输入法库IMlibrary.
它们二者都识别已注册的键集。
XIMP_SYNC_BE_TYPE1
XIMP_BE_TYPE1 & KeyPress is transfered synchronously.
XIMP_BE_TYPE1 & KeyPress(键压)被同步传输。
XIMP_SYNC_BE_TYPE2
XIMP_BE_TYPE2 & KeyPress is transfered synchronously.
XIMP_BE_TYPE2 & KeyPress(键压)被同步传输。
XIMPExtension //XIMP扩展
The XIMPExtension argument is used to set/unset the pre-registered
extensions to be valid. This list is also a nested variable length list
generated with XVaCreateNestedList(). At this release, the
pre-registered extensins appeared in the XIMPExtension list are defined
as below.
XIMPExtension 参数用于设定/解设预注册的扩展生效。此列表也成组的变长列表,由
XVaCreateNestedList()函数生成。在此发布版本中,预注册扩展出现在下面定义的
XIMPExtension列表里。
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.
若它出现在列表里,XNExtXimp_StatusWindow输入卡属性有效,可设置状态窗。
属性值不核定。
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.
若它出现在列表里,XNExtXimp_Backfront输入卡属性有效,可选择前端方法
或后端方法。属性值不核定。
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.
若它出现在列表里,XNExtXimp_Conversion输入卡属性有效,可设置输入模式。
属性值不核定。
The IMFilterEventMask argument, of type long, specifies the events
which should be filtered by the IMserver during the preeditting is on
going.
IMFilterEventMask参数氏long类型,指定哪些事件应被输服噐IMserver在预编辑期间过滤。
If it's left unspecified, KeyPressMask (1L<<0) will be fallback
default.
如果它保留不指定,键压掩码KeyPressMask (1L<<0)会被回调函数默认使用。
2.12. IMProtocolDepend //输入法协议依赖
The IMProtocolDepend argument is used to specify special IM values
for each IMProtocol model, if any. This attribute is passed to
IMOpenIM, IMSetIMValues or IMGetIMValues as a nested variable length
list generated with XVaCreateNestedList(). At this release, the
names in the IMProtocolDepend list are defined only for R5 Ximp model,
as below.
IMProtocolDepend参数用于指定特殊的IM值适应各个IMProtocol模型,如果有需要的话。
此属性传递给IMopenIM函数,IMSetIMValues函数,或者IMGetIMValues函数的一组变长
列表,由XVaCreateNestedList()函数生成。在此发布版本中,IMProtocolDepend列表中
的名称仅定义用于R5的Ximp模型,如下所示。
2.12.1. R5 Ximp dependent IM Values //R5的Ximp依赖的IM值
XIMPVersion //XIMP版本
The XIMPVersion argument, of type string, specifies the version of R5
Ximp model.
XIMPVersion参数,字符串类型,指定R5的Ximp模型
value meaning
值 含义
---------------------------------------------------------------------
"3.5" supports Ximp version 3.5 model //支持Ximp版本3.5模型
"4.0" supports Ximp version 4.0 model //支持Ximp版本4.0模型
XIMPType //XIMP类型
The XIMPVersion?XIMPType argument, pointer to a list of type unsigned long,
specifies a list of bitmask combinations, each of which indicates the
event flow model your IMserver supports. All possible values to be
appeared in the list are defined as follows.(*)
XIMPType参数,氏类型无符号长整型的列表指针,指定一个位掩码综合列表,其中每一个指示
你的输服噐IMserver支持的事件流模型。所有可能的值在下面的列表中显示。(*)
(*) Refer to "Protocol Specification for the Distributes Input System on
the X Window System, Version 11", which contains in X11R5 contribuion.
(*)参考"Protocol Specification for the Distributes Input System on
the X Window System, Version 11", 它包含于X11R5发布中。
XIMP_BE_TYPE1
back-end type, which IMlibrary recognizes registered keys and
notifies a server to start processing key events.
后端类型,这种情况(客户程序中的输入法库)IMlibrary识别已注册的键并且
通知某个输服噐开始处理键事件。
XIMP_FE_TYPE1
front-end type, which IMlibrary recognizes registered keys and
notifies a server to start processing key events.
前端类型,这种情况(客户程序中的输入法库)IMlibrary识别已注册的键并且
通知某个输服噐开始处理键事件。
XIMP_BE_TYPE2
back-end type, which IMlibrary does not recognize any registered
keys and. IMserver will always the first to process key events.
后端类型,这种情况(客户程序中的输入法库)IMlibrary不识别任何注册的键并且
输服噐总氏首先处理键事件。
XIMP_FE_TYPE2
front-end type, which IMlibrary does not recognize any registered
keys and. IMserver will always the first to process key events.
前端类型,这种情况(客户程序中的输入法库)IMlibrary不识别任何注册的键并且
输服噐总氏首先处理键事件。
XIMP_FE_TYPE3
front-end type, which key events are always passed to both
IMserver and IMlibrary. Both of them recognize registered keys.
前端类型,这种情况键事件总氏传递输服噐IMserver和输入法库IMlibrary.
它们二者都识别已注册的键集。
XIMP_SYNC_BE_TYPE1
XIMP_BE_TYPE1 & KeyPress is transfered synchronously.
XIMP_BE_TYPE1 & KeyPress(键压)被同步传输。
XIMP_SYNC_BE_TYPE2
XIMP_BE_TYPE2 & KeyPress is transfered synchronously.
XIMP_BE_TYPE2 & KeyPress(键压)被同步传输。
XIMPExtension //XIMP扩展
The XIMPExtension argument is used to set/unset the pre-registered
extensions to be valid. This list is also a nested variable length list
generated with XVaCreateNestedList(). At this release, the
pre-registered extensins appeared in the XIMPExtension list are defined
as below.
XIMPExtension 参数用于设定/解设预注册的扩展生效。此列表也成组的变长列表,由
XVaCreateNestedList()函数生成。在此发布版本中,预注册扩展出现在下面定义的
XIMPExtension列表里。
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.
若它出现在列表里,XNExtXimp_StatusWindow输入卡属性有效,可设置状态窗。
属性值不核定。
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.
若它出现在列表里,XNExtXimp_Backfront输入卡属性有效,可选择前端方法
或后端方法。属性值不核定。
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.
若它出现在列表里,XNExtXimp_Conversion输入卡属性有效,可设置输入模式。
属性值不核定。