3 ms·
You never did. There was never a widget that knew that "No" was in the middle on Windows and on the far left (but spelled differently) on macOS. I have no idea
by bonzini 2y ago
You never did. There was never a widget that knew that "No" was in the middle on Windows and on the far left (but spelled differently) on macOS. I have no idea if/how Qt does it.
If you need to ask a question, GTK does provide both GtkMessageDialog (deprecated) and GtkAlertDialog (new). But they will look "off" on some platforms due to not respecting the native design language.
If you need a more complex dialog box, you don't need GtkDialog which was just a convenience over other APIs but, with over 25 years of hindsight, wasn't as good as it seemed to be.