ladybird/Clock
Andreas Kling 11db8c1697 Add a simple close button ("X") to windows.
Clicking the button generates a WindowCloseRequest event which the client app
then has to deal with. The default behavior for GWindow is to close() itself.

I also added a flag, GWindow::should_exit_event_loop_on_close() which does
what it sounds like it does.

This patch exposed some bugs in GWindow and GWidget teardown.
2019-02-05 10:31:37 +01:00
..
.gitignore Clock: Turns the clock window from guitest2 into a separate program. 2019-02-05 09:44:13 +01:00
ClockWidget.cpp Clock: Turns the clock window from guitest2 into a separate program. 2019-02-05 09:44:13 +01:00
ClockWidget.h Clock: Turns the clock window from guitest2 into a separate program. 2019-02-05 09:44:13 +01:00
main.cpp Add a simple close button ("X") to windows. 2019-02-05 10:31:37 +01:00
Makefile Clock: Turns the clock window from guitest2 into a separate program. 2019-02-05 09:44:13 +01:00