Add API to set select item from ArdourDropdown

Multimedia / Ardour - Robin Gareus [gareus.org] - 20 October 2019 19:21 EDT

This fixes an issue with scroll-wheel control which uses `get_active()`. It work around an issue with gtkmm:

const MenuItem* get_active () const
void set_active (guint index)

and MenuList::activate_item() not emitting activate_item().

88fc226107 Add API to set select item from ArdourDropdown
libs/widgets/ardour_dropdown.cc | 16 ++++++++++++++++
libs/widgets/widgets/ardour_dropdown.h | 3 ++-
2 files changed, 18 insertions(+), 1 deletion(-)

  • Share