Skip to content

Support for input dialogs #12792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
akallabeth opened this issue Apr 10, 2025 · 2 comments · May be fixed by #13120
Open

Support for input dialogs #12792

akallabeth opened this issue Apr 10, 2025 · 2 comments · May be fixed by #13120

Comments

@akallabeth
Copy link

Hi, hope I did not miss anything, but as far as I can tell this was not discussed yet (in this decade at least):

The library supports file input dialogs (SDL_ShowFileDialogWithProperties) and message boxes (SDL_ShowSimpleMessageBox) but there is no way to ask for input with any kind of dialog.

(most common would likely be some kind of credential dialog or some URL)

Is that something that can/will be implemented in the library or is it one of the out of scope things?

@Semphriss
Copy link
Contributor

Did you have a specific list of input types in mind?

I checked with Zenity, and it offers a plethora of formats, from flat text input/password input to calendar date picking and a progress bar dialog. I can give this a try, if it would be good to have in SDL, but I'd have to check which options are supported cross-platform. (I note for example that Zenity doesn't seem to have a color picker.)

@akallabeth
Copy link
Author

@Semphriss for my use case simple credential dialogs would do.
but would like to have something easy to integrate without lots of dependencies, preferably in SDL

@Semphriss Semphriss linked a pull request May 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants