SDL 3.0
SDL_DialogFileFilter Struct Reference

#include <SDL_dialog.h>

Data Fields

const char * name
 
const char * pattern
 

Detailed Description

An entry for filters for file dialogs.

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").

See also
SDL_DialogFileCallback
SDL_ShowOpenFileDialog
SDL_ShowSaveFileDialog
SDL_ShowOpenFolderDialog

Definition at line 46 of file SDL_dialog.h.

Field Documentation

◆ name

const char* SDL_DialogFileFilter::name

Definition at line 48 of file SDL_dialog.h.

◆ pattern

const char* SDL_DialogFileFilter::pattern

Definition at line 49 of file SDL_dialog.h.


The documentation for this struct was generated from the following file: