harmony 鸿蒙inputmethod_cursor_info_capi.h

  • 2025-06-12
  • 浏览 (4)

inputmethod_cursor_info_capi.h

Overview

Provides methods for creating, destroying, reading, and writing cursor information objects.

Library: libohinputmethod.so

System capability: SystemCapability.MiscServices.InputMethodFramework

Since: 12

Related module: InputMethod

Summary

Types

Name Description
InputMethod_CursorInfo Cursor information.

Functions

Name Description
InputMethod_CursorInfo * OH_CursorInfo_Create (double left, double top, double width, double height) Creates an InputMethod_CursorInfo instance.
void OH_CursorInfo_Destroy (InputMethod_CursorInfo *cursorInfo) Destroys an InputMethod_CursorInfo instance.
InputMethod_ErrorCode OH_CursorInfo_SetRect (InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) Sets the cursor information.
InputMethod_ErrorCode OH_CursorInfo_GetRect (InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) Obtains the cursor information.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙IME Kit

harmony 鸿蒙InputMethod

harmony 鸿蒙Input Method Framework Error Codes

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

harmony 鸿蒙inputmethod_text_config_capi.h

harmony 鸿蒙inputmethod_text_editor_proxy_capi.h

0  赞