1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:38:12 +00:00

LibGUI: Add GInputBox for getting a string from a modal dialog.

Use this to implement some of the toolbar actions in IRCClient. :^)
This commit is contained in:
Andreas Kling 2019-03-19 01:41:00 +01:00
parent b87c099535
commit a6538feed1
11 changed files with 158 additions and 17 deletions

View file

@ -7,10 +7,8 @@ public:
explicit GMessageBox(const String& text, const String& title, GObject* parent = nullptr);
virtual ~GMessageBox() override;
String text() const { return m_text; }
private:
void build();
private:
String m_text;
};