In the first example, you’re not passing in a window to the method so the object (I think it’s a Plot or Plotter but don’t remember) doesn’t have a method. You have to pass the plot’s parent window to .alwaysOnTop_(true)
FWIW .front just makes the window visible. It doesn’t focus it.
Ah thanks, oh yeah of-course trying to get the signal go to the front isn’t going to work that was a bad idea of mine. Do you know how I access the plot? I just want my midi controller to be able to switch between different plots.