SDL_FileDialogType(3type)

πŸ’– SDL_FileDialogType πŸ’–

okay bestie, welcome to the SDL3 DATATYPES section of the manual ✨ we're about to talk about SDL_FileDialogType, and honestly? it's giving iconic enum energy πŸ’…


✨ NAME ✨

  • SDL_FileDialogType β€” various types of file dialogs, fr fr.

✨ SYNOPSIS ✨

#include <SDL3/SDL_dialog.h>

typedef enum SDL_FileDialogType
{
    SDL_FILEDIALOG_OPENFILE,
    SDL_FILEDIALOG_SAVEFILE,
    SDL_FILEDIALOG_OPENFOLDER
} SDL_FileDialogType;

✨ DESCRIPTION ✨

so like, this enum is used by SDL_ShowFileDialogWithProperties() to decide what kind of dialog to present to the user 🫢. that's it. that's the vibe. it's the little menu that tells SDL "okay bestie, are we opening a file, saving a file, or picking a folder?" πŸŽ€


✨ AVAILABILITY ✨

this enum has been available since SDL 3.2.0 🌈 no cap.


✨ SEE ALSO ✨


and that's the whole page, bestie! mwah πŸ’‹ this was brought to you by the Simple Directmedia Layer, version SDL 3.4.18, and it's your girl signing off β€” stay slaying, stay compiling βœ¨πŸ¦‹

πŸ“¦ where this page comes from