lv_ime_pinyin.h
Defines
-
LV_IME_PINYIN_K9_MAX_INPUT
Enums
Functions
-
void lv_ime_pinyin_set_keyboard(lv_obj_t *obj, lv_obj_t *kb)
Set the keyboard of Pinyin input method.
- Parameters:
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.
- Parameters:
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).
- Parameters:
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.
- Parameters:
obj – pointer to a Pinyin IME object
- Returns:
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.
- Parameters:
obj – pointer to a Pinyin input method object
- Returns:
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.
- Parameters:
obj – pointer to a Pinyin input method object
- Returns:
pointer to the Pinyin input method dictionary
Variables
-
const lv_obj_class_t lv_ime_pinyin_class
-
struct lv_pinyin_dict_t