SDL_DialogFileFilter - An entry for filters for file dialogs.
Contents
Availability
This struct is available since SDL 3.2.0.
Description
name is a user-readable label for the filter (for example, "Office document"). pattern is a semicolon-
separated list of file extensions (for example, "doc;docx"). File extensions may only contain
alphanumeric characters, hyphens, underscores and periods. Alternatively, the whole string can be a
single asterisk ("*"), which serves as an "All files" filter.
Header File
Defined in SDL3/SDL_dialog.h
Name
SDL_DialogFileFilter - An entry for filters for file dialogs.
See Also
•(3), SDL_DialogFileCallback(3type), •(3), SDL_ShowOpenFileDialog(3), •(3), SDL_ShowSaveFileDialog(3), •(3), SDL_ShowOpenFolderDialog(3), •(3), SDL_ShowFileDialogWithProperties(3) Simple Directmedia Layer SDL 3.2.10 SDL_DialogFileFilter(3type)
Synopsis
#include"SDL3/SDL.h"typedefstructSDL_DialogFileFilter{constchar*name;constchar*pattern;}SDL_DialogFileFilter;