harmony 鸿蒙inputmethod_cursor_info_capi.h
inputmethod_cursor_info_capi.h
概述
提供光标信息对象的创建、销毁与读写方法。
库: libohinputmethod.so
系统能力: SystemCapability.MiscServices.InputMethodFramework
起始版本: 12
相关模块:InputMethod
汇总
类型定义
名称 | 描述 |
---|---|
InputMethod_CursorInfo | 光标信息。 |
函数
名称 | 描述 |
---|---|
InputMethod_CursorInfo * OH_CursorInfo_Create (double left, double top, double width, double height) | 创建一个新的InputMethod_CursorInfo实例。 |
void OH_CursorInfo_Destroy (InputMethod_CursorInfo *cursorInfo) | 销毁一个InputMethod_CursorInfo实例。 |
InputMethod_ErrorCode OH_CursorInfo_SetRect (InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) | 设置光标信息内容。 |
InputMethod_ErrorCode OH_CursorInfo_GetRect (InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) | 获取光标信息内容。 |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙inputmethod_attach_options_capi.h
harmony 鸿蒙inputmethod_controller_capi.h
harmony 鸿蒙inputmethod_inputmethod_proxy_capi.h
harmony 鸿蒙inputmethod_private_command_capi.h
harmony 鸿蒙inputmethod_text_avoid_info_capi.h
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦