I’m trying to trigger a screen re-layout (like when you change the GUI scale in the prefs dialog) from the OSC handler thread. I’ve looked into the model of threads and signals and still can’t find a call to “cue this update in the GUI thread.” Here’s what I’ve tried; can someone point me to an example?
// how to recompute the UI layout?
// Mixer_UI::instance()->ui_parameter_changed(“mixbus-strip-scale”);
// ARDOUR_UI::instance()->on_theme_changed();
// BaseUI::RequestType Refresh = BaseUI::new_request_type();
// ArdourSurface::OSCUIRequest *req = get_request(Gtkmm2ext::StateChange);
// send_request(req);
// UIConfiguration::instance().set_mixbus_strip_scale(1.0f);
// ARDOUR_UI::instance()->the_mixer()->ui_parameter_changed(_(“mixbus-strip-scale”));
// ARDOUR_UI::instance()->main_window().resize (1,1);