summaryrefslogtreecommitdiff
path: root/libs/widgets/widgets
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-30 15:21:45 +0100
committerRobin Gareus <robin@gareus.org>2018-01-30 15:21:45 +0100
commitf979463cfe5d8b939a1c87119e6d711de6d8902e (patch)
tree76507fcffcc710969688d97194184bd01c596597 /libs/widgets/widgets
parente6b8a0d95bbdc091fcef0713197a9985263bb631 (diff)
Add ArdourDropdown API for use as dumb text dropdown.
Diffstat (limited to 'libs/widgets/widgets')
-rw-r--r--libs/widgets/widgets/ardour_dropdown.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/widgets/widgets/ardour_dropdown.h b/libs/widgets/widgets/ardour_dropdown.h
index 93e866d011..bb878c8570 100644
--- a/libs/widgets/widgets/ardour_dropdown.h
+++ b/libs/widgets/widgets/ardour_dropdown.h
@@ -49,6 +49,11 @@ public:
Gtk::Menu_Helpers::MenuList& items () { return _menu.items (); }
+ void append_text_item (std::string const& text);
+
+protected:
+ void default_text_handler (std::string const& text);
+
private:
Gtk::Menu _menu;