Reference Codebot.Render.Widgets.Dialogs.pas
Part of the Codebot Render package
Each version implies all earlier versions
The Codebot.Render.Widgets.Dialogs unit defines file and picture dialogs that are made from widgets. They implement IFileDialog and IPictureDialog from Codebot.Platform without relying on any backend, so they work anywhere a widget scene does. The SDL backend uses them because SDL has no file dialogs of its own.
Each dialog is a modal window that shows the current folder, a list of folders and files in columns that can be sorted and resized, the file name, the filters, and buttons to accept or cancel. A picture dialog also shows the selected image beside the list. The scene keeps running while a dialog is open.
Items 7 items
| Name | Kind | Line |
|---|---|---|
| NewWidgetFileDialog | function | 77 |
| NewWidgetPictureDialog | function | 79 |
| TWidgetFileDialog | class | 52 |
| Show | procedure | 56 |
| TWidgetPictureDialog | class | 62 |
| Show | procedure | 66 |
| WidgetDialogHost | variable | 74 |