1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 17:37:35 +00:00
serenity/Applications
Andreas Kling 57ff293a51 LibGUI: Implement nested event loops to support dialog boxes.
This patch adds a simple GMessageBox that can run in a nested event loop.
Here's how you use it:

    GMessageBox box("Message text here", "Message window title");
    int result = box.exec();

The next step is to make the WindowServer respect the modality flag of
these windows and prevent interaction with other windows in the same
process until the modal window has been closed.
2019-03-19 00:01:02 +01:00
..
About LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00
FileManager LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00
FontEditor LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00
IRCClient LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00
Launcher LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00
ProcessManager LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00
Terminal LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00
TextEditor LibGUI: Implement nested event loops to support dialog boxes. 2019-03-19 00:01:02 +01:00