#ifndef JUCI_ENTRYBOX_H_ #define JUCI_ENTRYBOX_H_ #include #include #include "gtkmm.h" class EntryBox : public Gtk::Box { public: class Entry : public Gtk::Entry { public: Entry(const std::string& content="", std::function on_activate=nullptr, unsigned length=50); std::function on_activate; }; class Button : public Gtk::Button { public: Button(const std::string& label, std::function on_activate=nullptr); std::function on_activate; }; public: EntryBox(); void clear(); void show(); std::list entries; std::list