|
FabGL
ESP32 Display Controller and Graphics Library
|
| InputResult folderBrowser | ( | char const * | titleText, |
| char const * | directory = "/", |
||
| char const * | buttonOKText = "Close" |
||
| ) |
Shows a dialog with files and folders and buttons to create new folders, delete and rename folders and files.
| titleText | Optional title of the dialog (nullptr = the dialogs hasn't a title) |
| directory | Initial directory. At least one file system must be mounted |
| buttonOKText | Optional text for OK button (nullptr = hasn't OK button). Default is "Close". |
Example:
InputBox ib;
ib.begin();
if (FileBrowser::mountSDCard(false, "/SD"))
ib.fileBrowser("File Browser", "/SD");
ib.end();
Definition at line 281 of file inputbox.cpp.