lv_ime_pinyin.h

Defines

LV_IME_PINYIN_K9_MAX_INPUT

Enums

enum lv_ime_pinyin_mode_t

Values:

enumerator LV_IME_PINYIN_MODE_K26
enumerator LV_IME_PINYIN_MODE_K9
enumerator LV_IME_PINYIN_MODE_K9_NUMBER

Functions

lv_obj_t *lv_ime_pinyin_create(lv_obj_t *parent)
void lv_ime_pinyin_set_keyboard(lv_obj_t *obj, lv_obj_t *kb)

Set the keyboard of Pinyin input method.

参数:
  • obj -- pointer to a Pinyin input method object

  • kb -- pointer to a Pinyin input method keyboard

void lv_ime_pinyin_set_dict(lv_obj_t *obj, lv_pinyin_dict_t *dict)

Set the dictionary of Pinyin input method.

参数:
  • obj -- pointer to a Pinyin input method object

  • dict -- pointer to a Pinyin input method dictionary

void lv_ime_pinyin_set_mode(lv_obj_t *obj, lv_ime_pinyin_mode_t mode)

Set mode, 26-key input(k26) or 9-key input(k9).

参数:
  • obj -- pointer to a Pinyin input method object

  • mode -- the mode from 'lv_ime_pinyin_mode_t'

lv_obj_t *lv_ime_pinyin_get_kb(lv_obj_t *obj)

Set the dictionary of Pinyin input method.

参数:

obj -- pointer to a Pinyin IME object

返回:

pointer to the Pinyin IME keyboard

lv_obj_t *lv_ime_pinyin_get_cand_panel(lv_obj_t *obj)

Set the dictionary of Pinyin input method.

参数:

obj -- pointer to a Pinyin input method object

返回:

pointer to the Pinyin input method candidate panel

const lv_pinyin_dict_t *lv_ime_pinyin_get_dict(lv_obj_t *obj)

Set the dictionary of Pinyin input method.

参数:

obj -- pointer to a Pinyin input method object

返回:

pointer to the Pinyin input method dictionary

Variables

const lv_obj_class_t lv_ime_pinyin_class
struct ime_pinyin_k9_py_str_t

Public Members

char py_str[7]