lv_file_explorer.h

API reference for lv_file_explorer.h

Report on GitHub
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_file_explorer_private.h

Functions

lv_file_explorer_set_quick_access_path

Set file_explorer

> Deprecated: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.

 
void lv_file_explorer_set_quick_access_path(lv_obj_t *obj, lv_file_explorer_dir_t dir, const char *path)
Parameters
NameTypeDescription
objlv_obj_t *pointer to a label object
dirlv_file_explorer_dir_tthe dir from 'lv_file_explorer_dir_t' enum.
pathconst char *path

lv_file_explorer_set_sort

Set file_explorer sort

> Deprecated: The lv_file_explorer widget is deprecated. See lv_example_table_file_browser.

 
void lv_file_explorer_set_sort(lv_obj_t *obj, lv_file_explorer_sort_t sort)
Parameters
NameTypeDescription
objlv_obj_t *pointer to a file explorer object
sortlv_file_explorer_sort_tthe sort from 'lv_file_explorer_sort_t' enum.

Enums

lv_file_explorer_sort_t

Name
LV_EXPLORER_SORT_NONE
LV_EXPLORER_SORT_KIND
Used by 1 function
  • lv_file_explorer_set_sort — param sort

lv_file_explorer_dir_t

Name
LV_EXPLORER_HOME_DIR
LV_EXPLORER_MUSIC_DIR
LV_EXPLORER_PICTURES_DIR
LV_EXPLORER_VIDEO_DIR
LV_EXPLORER_DOCS_DIR
LV_EXPLORER_FS_DIR
Used by 1 function
  • lv_file_explorer_set_quick_access_path — param dir

Macros

LV_FILE_EXPLORER_DEPRECATED_MSG

 
#define LV_FILE_EXPLORER_DEPRECATED_MSG "lv_file_explorer is deprecated; build a file browser from a table + lv_fs instead. See the lv_example_table_file_browser example."

> Deprecated: 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.

Variables

lv_file_explorer_class

 
const lv_obj_class_t lv_file_explorer_class

Dependencies

Last updated on

On this page