lv_ime_pinyin.h
API reference for lv_ime_pinyin.h
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_ime_pinyin_private.h
Functions
lv_ime_pinyin_set_keyboard
Set the keyboard of Pinyin input method.
void lv_ime_pinyin_set_keyboard(lv_obj_t *obj, lv_obj_t *kb)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a Pinyin input method object |
kb | lv_obj_t * | pointer to a Pinyin input method keyboard |
lv_ime_pinyin_set_dict
Set the dictionary of Pinyin input method.
void lv_ime_pinyin_set_dict(lv_obj_t *obj, lv_pinyin_dict_t *dict)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a Pinyin input method object |
dict | lv_pinyin_dict_t * | pointer to a Pinyin input method dictionary |
lv_ime_pinyin_set_mode
Set mode, 26-key input(k26) or 9-key input(k9).
void lv_ime_pinyin_set_mode(lv_obj_t *obj, lv_ime_pinyin_mode_t mode)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a Pinyin input method object |
mode | lv_ime_pinyin_mode_t | the mode from 'lv_ime_pinyin_mode_t' |
lv_ime_pinyin_get_kb
Set the dictionary of Pinyin input method.
lv_obj_t * lv_ime_pinyin_get_kb(lv_obj_t *obj)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a Pinyin IME object |
Returns: lv_obj_t * — pointer to the Pinyin IME keyboard
lv_ime_pinyin_get_cand_panel
Set the dictionary of Pinyin input method.
lv_obj_t * lv_ime_pinyin_get_cand_panel(lv_obj_t *obj)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a Pinyin input method object |
Returns: lv_obj_t * — pointer to the Pinyin input method candidate panel
lv_ime_pinyin_get_dict
Set the dictionary of Pinyin input method.
const lv_pinyin_dict_t * lv_ime_pinyin_get_dict(lv_obj_t *obj)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a Pinyin input method object |
Returns: const lv_pinyin_dict_t * — pointer to the Pinyin input method dictionary
lv_ime_pinyin_create
Create a Pinyin input method object
lv_obj_t * lv_ime_pinyin_create(lv_obj_t *parent)| Name | Type | Description |
|---|---|---|
parent | lv_obj_t * | pointer to a parent widget May be NULL.. When NULL, the widget is created as a screen on the active display. |
Returns: lv_obj_t * — pointer to the created Pinyin input method
Enums
lv_ime_pinyin_mode_t
| Name |
|---|
LV_IME_PINYIN_MODE_K26 |
LV_IME_PINYIN_MODE_K9 |
LV_IME_PINYIN_MODE_K9_NUMBER |
Used by 1 function
lv_ime_pinyin_set_mode— parammode
Structs
struct
lv_pinyin_dict_t
| Member | Type | Description |
|---|---|---|
py | const char *const | |
py_mb | const char *const |
Used by 1 function
lv_ime_pinyin_set_dict— paramdict
struct
ime_pinyin_k9_py_str_t
| Member | Type | Description |
|---|---|---|
py_str | char[7] |
Macros
LV_IME_PINYIN_K9_MAX_INPUT
#define LV_IME_PINYIN_K9_MAX_INPUT 7Variables
lv_ime_pinyin_class
const lv_obj_class_t lv_ime_pinyin_classDependencies
Indirect dependencies
lv_anim.hlv_area.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_display.hlv_draw.hlv_draw_arc.hlv_draw_blur.hlv_draw_buf.hlv_draw_image.hlv_draw_label.hlv_draw_line.hlv_draw_rect.hlv_draw_triangle.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_group.hlv_image_decoder.hlv_image_dsc.hlv_indev.hlv_layout.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_obj_class.hlv_obj_draw.hlv_obj_event.hlv_obj_pos.hlv_obj_property.hlv_obj_scroll.hlv_obj_style.hlv_obj_style_gen.hlv_obj_tree.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_timer.hlv_types.h
Last updated on