diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-19 01:41:00 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-19 01:41:00 +0100 |
commit | a6538feed1c3b26c75f9751522b703fd219ea860 (patch) | |
tree | 7ea2d6cddbb71aaf029e31826a4a475c961aa555 /LibGUI/GTextEditor.h | |
parent | b87c099535032879b90b3f087a9c20e66f4a2940 (diff) | |
download | serenity-a6538feed1c3b26c75f9751522b703fd219ea860.zip |
LibGUI: Add GInputBox for getting a string from a modal dialog.
Use this to implement some of the toolbar actions in IRCClient. :^)
Diffstat (limited to 'LibGUI/GTextEditor.h')
-rw-r--r-- | LibGUI/GTextEditor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GTextEditor.h b/LibGUI/GTextEditor.h index b4eb35b5d3..9b1ddcf904 100644 --- a/LibGUI/GTextEditor.h +++ b/LibGUI/GTextEditor.h @@ -95,6 +95,7 @@ public: void paste(); Function<void(GTextEditor&)> on_return_pressed; + Function<void(GTextEditor&)> on_escape_pressed; virtual const char* class_name() const override { return "GTextEditor"; } |