Message box API? #1816
Replies: 5 comments 16 replies
-
|
Not opposed to the idea. Can you be more concrete about the features you would want, and the situations in which it would be used (e.g. is there always a parent window)? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Previous discussion: #1731. Also note that system integration (for general dialog boxes) is not a matter of security or privacy, nor does it greatly benefit users. |
Beta Was this translation helpful? Give feedback.
-
|
Overall, it seems it can benefit the following cases:
For the second case, which is the one seen here, the question is why it is SDL that must send the message and not the app/game? In other words, why the app or game can’t draw the messages itself, using their GUI toolkit? @eafton |
Beta Was this translation helpful? Give feedback.
-
|
One thing to consider when approving (or rejecting) this portal: its availability on all desktop environments. I think it is important, at least for apps targeting only platforms using xdp, that this portal, if approved, be recommended as mandatory. If it isn't, then apps (or their libraries) will have to implement a fallback user interface anyway. Therefore, its use would probably no longer be very useful. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am a contributor to SDL, and I have been wanting a API for message boxes. SDL currently uses Zenity for them or its built in toolkit depending on if Zenity is installed and which windowing system is used. We would like to start using portals for them instead whenever possible. Zenity, depending on its version, only looks right on a few desktops. And calling Zenity from a library is a massive hack. The X11 built in toolkit does not fit in with any desktop.
Beta Was this translation helpful? Give feedback.
All reactions