Deprecated List
Deprecated List
Global LV_ASSERT_OBJ (obj_p, obj_class)
: Use LV_CHECK_OBJ(obj, cls, return) instead. LV_ASSERT_OBJ aborts on failure; LV_CHECK_OBJ logs a warning and executes the supplied action, which is safer in production.
Global LV_ASSERT_STYLE (style_p)
: Use LV_CHECK_ARG(style != NULL && LV_STYLE_SENTINEL_OK(style), return ...) instead. LV_ASSERT_STYLE aborts on failure; LV_CHECK_ARG logs a warning and executes the supplied action, which is safer in production.
*Global lv_file_explorer_create (lv_obj_t parent)
: The lv_file_explorer widget is deprecated. Build a file browser from a table and the lv_fs API instead. See lv_example_table_file_browser.
Global LV_FILE_EXPLORER_DEPRECATED_MSG
: The lv_file_explorer widget is deprecated and kept only for backward compatibility. A file explorer is a path header plus a table of directory entries read with the lv_fs API, so build it directly instead. See the lv_example_table_file_browser example. All lv_file_explorer_* functions below are deprecated.
*Global lv_file_explorer_get_current_path (const lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_device_list (lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_file_table (lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_header (lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_path_label (lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_places_list (lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_quick_access_area (lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_selected_file_name (const lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_get_sort (const lv_obj_t obj)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
**Global lv_file_explorer_open_dir (lv_obj_t obj, const char dir)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
**Global lv_file_explorer_set_quick_access_path (lv_obj_t obj, lv_file_explorer_dir_t dir, const char path)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_set_sort (lv_obj_t obj, lv_file_explorer_sort_t sort)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_file_explorer_show_back_button (lv_obj_t obj, bool show)
: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.
*Global lv_gltf_get_env_brightness (const lv_obj_t obj)
: Use lv_gltf_get_environment_brightness() instead, which returns a multiplier (1.0 = neutral).
*Global lv_gltf_set_env_brightness (lv_obj_t obj, uint32_t value)
: Use lv_gltf_set_environment_brightness() instead, which takes a multiplier (1.0 = neutral).
*Global lv_image_buf_free (lv_image_dsc_t dsc)
: Use lv_draw_buffer_create/destroy instead. Free the data pointer and dsc struct of an image.
*Global lv_image_buf_set_palette (lv_image_dsc_t dsc, uint8_t id, lv_color32_t c)
: Use lv_draw_buf_set_palette instead.
*Global lv_layout_register (lv_layout_update_cb_t cb, void user_data)
: use lv_layout_create instead.
**Global lv_list_add_button (lv_obj_t *list, const void icon, const char txt)
: Add a full-width lv_button to a flex container instead. See lv_example_flex_list.
**Global lv_list_add_button_translation_tag (lv_obj_t *list, const void icon, const char tag)
: The lv_list widget is deprecated. See lv_example_flex_list.
**Global lv_list_add_text (lv_obj_t list, const char txt)
: Add a full-width lv_label to a flex container instead. See lv_example_flex_list.
**Global lv_list_add_translation_tag (lv_obj_t list, const char tag)
: The lv_list widget is deprecated. See lv_example_flex_list.
*Global lv_list_create (lv_obj_t parent)
: Use a flex container with LV_FLEX_FLOW_COLUMN instead. See lv_example_flex_list.
Global LV_LIST_DEPRECATED_MSG
: The lv_list widget is deprecated and kept only for backward compatibility. A list is just a flex container with a column flow, so build one directly from lv_obj + a LV_FLEX_FLOW_COLUMN layout instead. See the lv_example_flex_list example for a starting point.
**Global lv_list_get_button_text (lv_obj_t list, lv_obj_t btn)
: The lv_list widget is deprecated. See lv_example_flex_list.
**Global lv_list_set_button_text (lv_obj_t *list, lv_obj_t btn, const char txt)
: The lv_list widget is deprecated. See lv_example_flex_list.
**Global lv_list_set_button_translation_tag (lv_obj_t *list, lv_obj_t btn, const char tag)
: The lv_list widget is deprecated. See lv_example_flex_list.
**Global lv_menu_back_button_is_root (lv_obj_t menu, lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_clear_history (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_cont_create (lv_obj_t parent)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_create (lv_obj_t parent)
: The lv_menu widget is deprecated. Build menu navigation from base widgets instead. See lv_example_menu_navigation.
Global LV_MENU_DEPRECATED_MSG
: The lv_menu widget is deprecated and kept only for backward compatibility. A menu is page navigation over base widgets: pages built from lv_obj and a back button that swaps the visible page. Build it directly instead. See the lv_example_menu_navigation example. All lv_menu_* functions below are deprecated.
*Global lv_menu_get_cur_main_page (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_get_cur_sidebar_page (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_get_main_header (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_get_main_header_back_button (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_get_mode_header (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_get_mode_root_back_button (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_get_sidebar_header (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_get_sidebar_header_back_button (lv_obj_t obj)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
**Global lv_menu_page_create (lv_obj_t menu, char const const title)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_section_create (lv_obj_t parent)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_separator_create (lv_obj_t parent)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
**Global lv_menu_set_load_page_event (lv_obj_t *menu, lv_obj_t obj, lv_obj_t page)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_set_mode_header (lv_obj_t obj, lv_menu_mode_header_t mode)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_menu_set_mode_root_back_button (lv_obj_t obj, lv_menu_mode_root_back_button_t mode)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
**Global lv_menu_set_page (lv_obj_t obj, lv_obj_t page)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
**Global lv_menu_set_page_title (lv_obj_t page_obj, char const const title)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
**Global lv_menu_set_page_title_static (lv_obj_t page_obj, char const const title)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
**Global lv_menu_set_sidebar_page (lv_obj_t obj, lv_obj_t page)
: The lv_menu widget is deprecated. See lv_example_menu_navigation.
*Global lv_obj_add_flag (lv_obj_t obj, lv_obj_flag_t f)
: Use the dedicated per-flag setter instead, e.g. lv_obj_set_hidden(obj, true).
**Global lv_obj_bind_flag_if_eq (lv_obj_t obj, lv_subject_t subject, lv_obj_flag_t flag, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_flag_if_ge (lv_obj_t obj, lv_subject_t subject, lv_obj_flag_t flag, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_flag_if_gt (lv_obj_t obj, lv_subject_t subject, lv_obj_flag_t flag, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_flag_if_le (lv_obj_t obj, lv_subject_t subject, lv_obj_flag_t flag, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_flag_if_lt (lv_obj_t obj, lv_subject_t subject, lv_obj_flag_t flag, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_flag_if_not_eq (lv_obj_t obj, lv_subject_t subject, lv_obj_flag_t flag, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_state_if_eq (lv_obj_t obj, lv_subject_t subject, lv_state_t state, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_state_if_ge (lv_obj_t obj, lv_subject_t subject, lv_state_t state, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_state_if_gt (lv_obj_t obj, lv_subject_t subject, lv_state_t state, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_state_if_le (lv_obj_t obj, lv_subject_t subject, lv_state_t state, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_state_if_lt (lv_obj_t obj, lv_subject_t subject, lv_state_t state, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_bind_state_if_not_eq (lv_obj_t obj, lv_subject_t subject, lv_state_t state, int32_t ref_value)
: Use lv_obj_bind_bool() or lv_subject_add_observer_obj() instead.
**Global lv_obj_find_by_id (const lv_obj_t obj, const void id)
: IDs are used only to print the widget trees. To find a widget use lv_obj_find_by_name
*Global lv_obj_has_flag (const lv_obj_t obj, lv_obj_flag_t f)
: Use the dedicated per-flag setter instead, e.g. lv_obj_is_hidden(obj).
*Global lv_obj_has_flag_any (const lv_obj_t obj, lv_obj_flag_t f)
: Use the dedicated per-flag setter instead, e.g. lv_obj_set_hidden(obj).
*Global lv_obj_remove_flag (lv_obj_t obj, lv_obj_flag_t f)
: Use the dedicated per-flag setter instead, e.g. lv_obj_set_hidden(obj, false).
*Global lv_obj_set_flag (lv_obj_t obj, lv_obj_flag_t f, bool v)
: Use the dedicated per-flag setter instead, e.g. lv_obj_set_hidden(obj, en).
**Global lv_obj_style_get_disabled (lv_obj_t obj, const lv_style_t style, lv_style_selector_t selector)
: Use lv_obj_get_style_enabled() instead (with inverted logic).
**Global lv_obj_style_set_disabled (lv_obj_t obj, const lv_style_t style, lv_style_selector_t selector, bool dis)
: Use lv_obj_set_style_enabled() instead (with inverted logic).
**Global lv_rlottie_create_from_file (lv_obj_t parent, int32_t width, int32_t height, const char path)
: rlottie is deprecated. Use the lv_lottie widget instead.
**Global lv_rlottie_create_from_raw (lv_obj_t parent, int32_t width, int32_t height, const char rlottie_desc)
: rlottie is deprecated. Use the lv_lottie widget instead.
Global LV_RLOTTIE_DEPRECATED_MSG
: The rlottie player is deprecated and kept only for backward compatibility. Use the lv_lottie widget instead. See the Lottie widget docs.
*Global lv_rlottie_set_current_frame (lv_obj_t rlottie, const size_t goto_frame)
: rlottie is deprecated. Use the lv_lottie widget instead.
*Global lv_rlottie_set_play_mode (lv_obj_t rlottie, const lv_rlottie_ctrl_t ctrl)
: rlottie is deprecated. Use the lv_lottie widget instead.
*Global lv_snapshot_free (lv_image_dsc_t dsc)
: Use lv_draw_buf_destroy instead.
**Global lv_snapshot_take_to_buf (lv_obj_t *obj, lv_color_format_t cf, lv_image_dsc_t dsc, void buf, uint32_t buf_size)
: Use lv_snapshot_take_to_draw_buf instead.
*Global lv_subject_deinit (lv_subject_t subject)
: The subject init API is deprecated, use lv_subject_create/lv_subject_delete instead
*Global lv_subject_init_color (lv_subject_t subject, lv_color_t color)
: The subject init API is deprecated, use lv_subject_create instead
*Global lv_subject_init_float (lv_subject_t subject, float value)
: The subject init API is deprecated, use lv_subject_create instead
**Global lv_subject_init_group (lv_subject_t group_subject, lv_subject_t list[], uint32_t list_len)
: The subject init API is deprecated, use lv_subject_create instead
*Global lv_subject_init_int (lv_subject_t subject, int32_t value)
: The subject init API is deprecated, use lv_subject_create instead
**Global lv_subject_init_pointer (lv_subject_t subject, void value)
: The subject init API is deprecated, use lv_subject_create instead
**Global lv_subject_init_string (lv_subject_t *subject, char *buf, char prev_buf, size_t size, const char value)
: The subject init API is deprecated, use lv_subject_create instead
*Global lv_textarea_set_align (lv_obj_t obj, lv_text_align_t align)
: Use the normal text_align style property instead Set the label's alignment. It sets where the label is aligned (in one line mode it can be smaller than the text area) and how the lines of the area align in case of multiline text area
**Global lv_win_add_button (lv_obj_t win, const void icon, int32_t btn_w)
: The lv_win widget is deprecated. See lv_example_flex_win.
**Global lv_win_add_title (lv_obj_t win, const char txt)
: The lv_win widget is deprecated. See lv_example_flex_win.
*Global lv_win_create (lv_obj_t parent)
: Use a flex column with a header and content area instead. See lv_example_flex_win.
Global LV_WIN_DEPRECATED_MSG
: The lv_win widget is deprecated and kept only for backward compatibility. A window is just a flex column with a header bar and a content area, so build one directly from lv_obj instead. See the lv_example_flex_win example for a starting point.
*Global lv_win_get_content (lv_obj_t win)
: The lv_win widget is deprecated. See lv_example_flex_win.
*Global lv_win_get_header (lv_obj_t win)
: The lv_win widget is deprecated. See lv_example_flex_win.
Last updated on