aboutsummaryrefslogtreecommitdiff
path: root/include/InputDialog.hpp
blob: 4b2b02a298133ba40f02c1804e754016b3e10cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <gtkmm/dialog.h>
#include <gtkmm/entry.h>

namespace dchat
{
    class InputDialog : public Gtk::Dialog
    {
    public:
        InputDialog(const char *title, const char *text, const char *acceptText = "Create", const char *cancelText = "Cancel");
        Glib::ustring getInput() const;

        Gtk::Entry entry;
    };
}